It is done with the use of a spectrophotometer, a device that measures the intensity of light as a beam of light passes through a sample solution. Light is a versatile element. It can be reflected, scattered, transmitted, and absorbed.
The spectrophotometer technique is to measure light intensity as a function of wavelength. It does this by diffracting the light beam into a spectrum of wavelengths, detecting the intensities with a charge-coupled device, and displaying the results as a graph on the detector and then on the display device.
Spectrophotometers are used to measure the color of materials. Materials can be solid, liquid, opaque, translucent, or transparent. Different methods are used to measure these materials, depending on their form and transparency.