Overexposure to the sun stimulates melanin production thus darkening the skin or giving the skin a tan. Tans are impermanent but it can take some time for the normal colour of the skin t be restored. The length of time depends on the amount of solar exposure and resultant skin damage.