Pigmentary disorders are conditions that affect the color of the skin due to alterations in melanin production, distribution, or degradation. They can be caused by genetic factors, environmental influences, or underlying medical conditions, leading to either hyperpigmentation or hypopigmentation.