DNA provides the set of genes, used by cells to carry out daily functions and interact with the environment. Eye color was traditionally described as a single gene trait, with brown eyes being dominant over blue eyes. ... The genes control the amount of melanin inside specialized cells of the iris.
According to https://hudsonalpha.org/the-genetics-of-eye-color/