You can use an RGB LED in conjunction with a uC that has an ADC as an el-cheapo light & color meter.Side note, LEDs are transducers, they will generate a small amount of voltage when exposed to light, very small.
by Jake Hertz
by Duane Benson
by Aaron Carman
by Robert Keim