Measuring the reflection or transmission of light for each component wavelength in the spectrum of a specimen.