If a reaction occurs in such a way as to either produce a colored product or reduce a product to a colorless product, then the amount of color produced or reduced is proportionate to the concentration of reactants.
Principle of Spectrophotometry