The underlying mechanism of colorimetric tests involves a chemical reaction that yields a color change. The intensity of the color, usually measured using a spectrophotometer, correlates with the concentration of the analyte in question. These tests often involve reagents such as chromogenic compounds that develop a color upon interaction with the target substance.