Hazel eyes are due to a combination of Rayleigh scattering and a moderate amount of melanin in the iris ' anterior border layer .
This depends on the amount of melanin in the iris .