Environmental factors, sunlight, ultraviolet rays, hormonal changes, and some medications all contribute to pigmentation changes. These can range from freckles, sunspots, age spots to melasma and can occur on the face or body at any age. When the body produces either too much or too little melanin, this results in hyperpigmentation or hypopigmentation which appears as a dark or light mark on the surface of the skin.