Subsequent migrations into different UV environments and admixture between populations have resulted in the varied range of skin pigmentations we see today.The genetic mutations leading to light skin, though partially different among East Asians and Western Europeans, suggest the two groups experienced a similar selective pressure after settlement in northern latitudes.The theory is partially supported by a study into the SLC24A5 gene which found that the allele associated with light skin in Europe "determined […] that 18,000 years had passed since the light-skin allele was fixed in Europeans" but may have originated as recently as 12,000–6,000 years ago "given the imprecision of method" , which is in line with the earliest evidence of farming.Research by Nina Jablonski suggests that an estimated time of about 10,000 to 20,000 years is enough for human populations to achieve optimal skin pigmentation in a particular geographic area but that development of ideal skin coloration may happen faster if the evolutionary pressure is stronger, even in as little as 100 generations. The length of time is also affected by cultural practices such as food intake, clothing, body coverings, and shelter usage which can alter the ways in which the environment affects populations.One of the most recently proposed drivers of the evolution of skin pigmentation in humans is based on research that shows a superior barrier function in darkly pigmented skin.
Tanning involves not just the increased melanin production in response to UV radiation but the thickening of the top layer of the epidermis, the stratum corneum.A persons natural skin color affects their reaction to exposure to the sun. Generally, those who start out with darker skin color and more melanin have better abilities to tan. Individuals with very light skin and albinos have no ability to tan. The biggest differences resulting from sun exposure are visible in individuals who start out with moderately pigmented brown skin: the change is dramatically visible as tan lines, where parts of the skin which tanned are delineated from unexposed skin.Modern lifestyles and mobility have created mismatch between skin color and environment for many individuals. Vitamin D deficiencies and UVR overexposure are concerns for many. It is important for these people individually to adjust their diet and lifestyle according to their skin color, the environment they live in, and the time of year. For practical purposes, such as exposure time for sun tanning, six skin types are distinguished following Fitzpatrick (1975), listed in order of decreasing lightness:

Fitzpatrick scale
The following list shows the six categories of the Fitzpatrick scale in relation to the 36 categories of the older von Luschan scale:
Dark skin with large concentrations of melanin protects against ultraviolet light and skin cancers; light-skinned people have about a tenfold greater risk of dying from skin cancer, compared with dark-skinned persons, under equal sunlight exposure.