Your hair turns gray or white from a loss of melanin, a pigment-producing component that produces melanocyte cells.read