Why does hair turn gray?

Keratin, a colorless protein, is the main component of our hair. As a result, our hair is virtually white before it emerges from the skin. How is this even possible?…