How does exposure to UV rays affect melanin production and skin color?
When your skin is exposed to UV rays, melanin, a pigment that absorbs and breaks down the UV rays you are exposed to, this increases the melanin production therefore darkening your skin color.