Difficulty distinguishing between different colors is a manifestation of color blindness, also known as a chromosomal disorder. Patients can see objects clearly but cannot distinguish colors, especially blue from red or blue from yellow.
Color blindness is a genetic disease caused by changes in a pair of chromosomes (XX in females and XY in males) that are passed down from parent to child.People with color blindness are caused by a mutation or lack of a gene on the X chromosome, which causes a disorder in the light-sensitive cells in the eye that are needed to distinguish colors (usually, this gene is recessive). Male fetuses who inherit this gene from their mothers will have difficulty distinguishing colors because the Y chromosome is the only chromosome that will not have a dominant color gene to overwhelm the color blindness gene.

We can do a quick check at the color blind test tool. It’s pretty accurate and simple
Causes of color blindness
According to specialists, color blindness occurs when the patient has problems with the pigments in the eye, which is also the leading cause of color blindness. Structurally, on the retina, there are cells that respond to light called rods and cones. In particular, cones contain colored pigments that reflect different wavelengths of light, so if the cones contain all the correct pigments, vision will be good; however, only one pigment is needed. If the error is wrong, the patient will not see some colors.
In addition, some other possible causes of color blindness are:
Due to the patient suffering from a number of eye diseases such as macular degeneration, retinopathy, cataracts, etc.,
Side effects of certain medications, such as those used to treat high blood pressure, heart disease, or medications for neurological disorders
Exposure to certain harsh chemicals can cause a loss of color vision.
Causes of color blindness
a genetic mutation that leads to color blindness.
Due to genetic mutations.
due to heredity.
Eye injury.
Color blindness is due to age.

Test : color blind test for kids