Melanin
The pigment is called melanin, and it gives some protection from the sun, but can't totally prevent sunburns.
Epidermal pigment is pigment that is on the outer layer of the skin. In humans, that is usually melanin, which is the pigment that makes up skin.
Melanin is a pigment produced by cells called melanocytes. This is the pigment which contributes to skin colour. It also provides some protection from UV light.
Skin pigmentation, based on a code of genetics, protects the skin. Skin pigmentation is determined by the amount and type of melanin, the pigment in the skin. Depending on what color, or skin pigment color, your skin is, there is a different level of protection provided for skin, due partially to a person's ancestors. For example, those who have family who originated from the tropics probably have dark skin, due to the fact that in tropical areas there is more sunlight, and therefore, those people would have adapted to having a lot of sun shining down at them. This contracts with those who have ancestors who originated from snowy or cold regions where the sun is seldom seen have paler skin.
Chlorophylls.
The green pigment that traps energy from the sun is called chlorophyll. It is found in the chloroplasts of plant cells and is essential for the process of photosynthesis.
Chlorophyll is the pigment in plants that traps energy from the sun using photosynthesis.
Melanin
Pigment known as Melanin
Melanin
The primary would be skin colour, like brown and black pigment for the colour of skin and hair is the result pigments called melanisation. The secondary would be protection from UV rays of the sun,
The main pigment of the skin is melanin, it is what makes your skin light or dark whether it be your ethnicity or even the amount of exposure you get from the sun.