In colorimetric analysis, histological samples are treated with special stains or dyes that react with the target substances. The resulting color change is measured using a spectrophotometer or under a light microscope. The intensity of the color is directly proportional to the concentration of the substance being tested.