The colored part of your eye is called the “iris”. This part of your eye is pigmented depending on your genetics, which will determine what eye color you have. Many babies have blue eyes when they are born and for most of their first year of life.
In humans, iris pigmentation ranges from light brown to black, and, depending on how light scatters in the iris stroma through the Tyndall effect, the iris can appear blue, green, or hazel. Although the genetics of eye color is extremely complex..
Scientists are having a tough time figuring out the exact set of genes responsible for a person’s eye color. This is not only because genetics is a difficult subject but also because there are many genes that code for a person’s eye color. In addition, these genes are believed to interact with each other in a complex way.
Humans get their eye color from melanin, the protective pigment that also determines skin and hair shades. Melanin is good at absorbing light, which is especially important for the iris, the function of which is to control how much brightness can enter the eyes.