Skin color is determined by a pigment (melanin) made by specialized cells in the skin (melanocytes). The amount and type of melanin determines a person's skin color. When these cells(melanocytes) become damaged or unhealthy, it affects melanin production. Some pigmentation disorders affect just patches of skin. Others affect the entire body.