Can you explain how hair color is determined?
user
The color of human hair is determined primarily by the amount and distribution of the pigment called melanin. Hair grows in small epithelial follicles on the skin, and melanin pigment is produced in specialized cells called melanocytes in these follicles. These melanocytes produce melanin pigment granules that are then dissolved, synthesized, and stored in the hair bulb cells. The distribution of melanin pigment in the hair follicle determines hair color and can be influenced by various factors. Hair color is inherited, and genetic  variation in the melanin pigment system is primarily responsible for the wide array of human hair color variation in the world. Hair colors range from blonde hair with relatively low amounts of melanin, dark brown hair with high amounts of melanin, to intermediate shades of red or auburn hair, gray hair, brown hair, black hair, and blonde hair with slightly red or reddish tints.
assistant
Can you explain how hair color is determined?
user
Hair color is determined by the amount and types of melanin pigment within the hair follicles, which is genetically determined.  While all humans have some variation in natural hair color across the different follicles of our scalp, typically hair reflects a blend of the origins from both parents.  People with significant variation in ancestry will often also show variation in hair color, including a wide range of shades and hues of brown, black, red, blond, silver, and even pale blue or green!  Genes affect the physical color of the hair as well as its texture, thickness, and curl.  People with dark hair will usually have a dark hairline, dark eyebrows, dark eye lashes, and dark body hair, and this all results from the same genetic factor.
assistant
Can you explain how hair color is determined?