Histological examination is the primary method for detecting medication induced pigments. Tissue samples are stained and examined under a microscope. The type of staining can vary depending on the suspected pigment. For example, iron-containing pigments can be identified using Prussian blue stain, while melanin and lipofuscin can be differentiated with Fontana-Masson stain.