It's as simple as ADC (analog to digital converter); easy as RGB (Color LED)...
This example can be run on any ESP8266, but it runs out of the box on the ebay search for.. "ESP8266 Battery Holder" with the light sensor on ADC0 and RGB LED. Fun and easy way to do more than blink a light.