Color vision loss as far as I know is inherited dominantly from
the parents, guys are often affected... If I am not wrong, the most
common is the red-green color blindness giving the driver a very
hard time interpreting the lights. Mostly, this is caused by the
interpretation in the brain, you may lack the gene or may have been
knocked on the head (the occipital lobe - i need alfagal to confirm
the area of color vision, can't really recall) whereby the area of
color vision representation is damaged.
Cones only interpret the intensity of brightness rather than
color...