The color of your eyes comes from the genes passed down from your parents. However, most babies appear to have blue eyes at birth. This happens because of a pigment called melanin. The melanin in a newborn’s eyes requires time after birth to adjust. It shifts in tone after the exposure to ultraviolet light. This later reveals a baby’s true eye color.