Hair turns grey as you age primarily due to a natural and gradual decrease in the production of melanin, the pigment responsible for the color of your hair, skin, and eyes. Melanin is produced by melanocytes, which are cells located in the hair follicles. There are two main types of melanin: eumelanin, which is responsible for black or brown colors, and pheomelanin, which contributes to red and yellow colors.