Flora Color Sensor - TCS34725 is based on TCS34725, the best color sensor in the market, which has RGB and Clear light sensing elements. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be made accurately. The filter means you'll get much truer color than most sensors, since humans don't see IR. Flora Color Sensor - TCS34725 also has an incredible 3,800,000:1 dynamic range with adjustable integration time and gain so it is suited for use behind darkened glass or fabric.
To make sure you get consistent color, there is a nice neutral 4150°K temperature LED with a MOSFET driver onboard to illuminate what you're trying to sense. The LED can be easily turned on during sensing and turned off afterwards to save power.
Connect the board to a Flora via I2C and Adafruit’s example code will quickly get you going with 4 channel readings. Check out Adafruit’s Arduino library and follow the tutorial to install. Sew up the sensor by connecting 3V to 3V Flora output, Ground to common ground, SCL to I2C Clock and SDA to I2C Data on your Flora. All the pins line up and you can chain another sensor such as a lux sensor or accelerometer. Restart the IDE and select the example Flora sketch and you are ready to go.
Adafruit Arduino Library: https://github.com/adafruit/Adafruit_TCS34725
Adafruit Library Usage: https://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
Adafruit Web Site:
https://www.adafruit.com/products/1356