When you reduce melanin in the skin it is reduced in hair and eye color as well (if I remember my Human Races class from many years ago).
That's interesting, thanks!
One specifies melanin to the front, and that gives you hazel or green eyes. Another puts it on the back and that gives you gray eyes.
If you have no melanin on either side, you get blue eyes.
Although there's some logic to the brown, hazel and gray eyes having certain advantages under certain standard light conditions, there's really no logic to the blue eyes since the absence of melanin in the iris defeats one of the primary purposes of the iris, namely to protect the retina from too much light.