TCS3200 RGB Color SensorPROCR-003200
The TCS3200 RGB color sensor uses an array of photodiode with different filters to determine the RGB frequency. The output waveform is a 50% duty cycle square wave which can be measured with the microcontroller. You can supply between 3 to 5V to power the sensor. The sensor works best with a distance range of 1cm.