Under normal conditions, melanosomes cover the upper part of the keratinocytes and protect them from genetic damage. One melanocyte supplies melanin to thirty-six keratinocytes according to signals from the keratinocytes. They also regulate melanin production and replication of melanocytes. People have different skin colors mainly because their melanocytes produce different amount and kinds of melanin. The genetic mechanism behind human skin color is mainly regulated by the enzyme tyrosinase, which creates the color of the skin, eyes, and hair shades. Differences in skin color are also attributed to differences in size and distribution of melanosomes in the skin. Melanocytes produce two types of melanin. The most common form of biological melanin is eumelanin, a brown-black polymer of dihydroxyindole carboxylic acids, and their reduced forms. Most are derived from the amino acid tyrosine. Eumelanin is found in hair, areola, and skin, and the hair colors gray, black, blond, and brown. In humans, it is more abundant in people with dark skin. Pheomelanin, a pink to red hue is found in particularly large quantities in red hair, the lips, nipples, glans of the penis, and vagina.Both the amount and type of melanin produced is controlled by a number of genes that operate under incomplete dominance. One copy of each of the various genes is inherited from each parent. Each gene can come in several alleles, resulting in the great variety of human skin tones. Melanin controls the amount of ultraviolet (UV) radiation from the sun that penetrates the skin by absorption.
The poorer classes worked outdoors and got darker skin from exposure to the sun, while the upper class stayed indoors and had light skin. Hence light skin became associated with wealth and high position. Women would put lead-based cosmetics on their skin to whiten their skin tone artificially. However, when not strictly monitored, these cosmetics caused lead poisoning. Other methods also aimed at achieving a light-skinned appearance, including the use of arsenic to whiten skin, and powders. Women would wear full-length clothes when outdoors, and would use gloves and parasols to provide shade from the sun. Colonization and enslavement as carried out by European countries became involved with colorism and racism, associated with the belief that people with dark skin were uncivilized, inferior, and should be subordinate to lighter-skinned invaders. This belief exists to an extent in modern times as well. Institutionalized slavery in North America led people to perceive lighter-skinned African-Americans as more intelligent, cooperative, and beautiful. Such lighter-skinned individuals had a greater likelihood of working as house slaves and of receiving preferential treatment from plantation owners and from overseers. For example, they had a chance to get an education. The preference for fair skin remained prominent until the end of the Gilded Age, but racial stereotypes about worth and beauty persisted in the last half of the 20th century and continue in the present day.