Spectrometers for color measurement