system
Given the following post, respond as if you're commenting on Reddit:
human
If darker colors absorb more heat, why is our skin made to darken when exposed to the sun?
gpt
Because the problem with sunlight is not the heat, but the exposure to UV radiation, which damages skin cells and their DNA, leading to sunburn in the short term, and to melanoma and other problems in the long term. 
Melanin, the pigment responsible for the darkening of the skin, is placed above the DNA of skin cells, protecting it by converting the energy of UV rays - energy that would damage the DNA - into heat. So yes, a little more heat is produced, but that's easily dissipated and won't cause any problem.