text: In physical and analytical chemistry, colorimetry or colourimetry is a technique used to determine the concentration of colored compounds in solution.
  A colorimeter is a device used to test the magnitude of a solution by measuring its absorbance of a specific wavelength of light (not to be confused with the tristimulus colorimeter used to measure colors in general).
  To use the colorimeter, different solutions must be made, including a control or reference of known concentration.  With a visual colorimeter, for example the Duboscq colorimeter illustrated, the length of the light path through the solutions can be varied while filtered light transmitted through them is compared for a visual match.  The concentration times path length is taken to be equal when the colors match, so the concentration of the unknown can be determined by simple proportions.  Nessler tubes work on the same principle.
  There are also electronic automated colorimeters; before these machines are used, they must be calibrated with a cuvette containing the control solution. The concentration of a sample can be calculated from the intensity of light before and after it passes through the sample by using the Beer–Lambert law. Photoelectric analyzers came to dominate in the 1960s.
  The color or wavelength of the filter chosen for the colorimeter is extremely important, as the wavelength of light that is transmitted by the colorimeter has to be the same as that absorbed by the substance being measured.  For example, the filter on a colorimeter might be set to red if the liquid is blue.