The quality of sunglasses has nothing to do with the intensity of the color. The amount of protection is based on the amount of ultraviolet protection. For sunglasses to be effective, they must be 100% ultraviolet-blocking for all UV rays (UVA and UVB).
Polarized lenses block glare, but do not necessarily block all UV light. If you want polarized sunglasses, make sure to check for UV protection as well. In general, sunglasses lose 1.5% to 2% of their UV protection each year. Scratches and visible wear on the lens contribute to the degradation of UV protection, indicating that your lenses should be replaced.
Name-branded manufacturers often make clear ophthalmic-quality frames, which are regulated and held to higher ANSI standards. Thus, name-branded sunwear is held to this standard and provides excellent protection. Discount eyewear suppliers may not be certified as licensed distributors. Check for official UV400 labels and ask for a certificate of authenticity to make sure your eyes are adequately protected.