Defects of color vision are mainly hereditary traits but can be secondary to acquired or developmental abnormalities in the CONES (RETINA). Severity of hereditary defects of color vision depends on the degree of mutation of the OPSIN genes (on X CHROMOSOME and CHROMOSOME 3, HUMAN) that code the photopigments for red, green and blue.