In dermatology, hyperpigmentation is the darkening of an area of skin or nails caused by increased melanin.