An app note from MAXIM integrated on RGB color sensor and their capability to correct color deviation by providing feedback based on a reference color. Link here (PDF)
This application note will show how all the colors within the color gamut formed by red, green, and blue constants in a CIE plot can be measured and mapped with an RGB color sensor. This RGB sensor can also monitor the color output of LEDs in a display and/or provide feedback to maintain a reference color. An RGB sensor will also be mapped to measure the color temperature of practical light sources.