Melanocytes are another type of cell in the epidermis. They make melanin. Melanin gives skin its natural color. Exposure to the sun causes the melanocytes to make more color. This causes the skin to get darker, or tan.