The pigmentation of human hair is due to two types of melanin: eumelanin and pheomelanin. Generally speaking, if more eumelanin is present, the color of the hair is darker; if less eumelanin is present, the hair is lighter.