Identifying specific colors with a color sensor is not as simple as pointing the sensor at a color patch and taking a reading.  There are many factors such as distance, field of view and ambient lighting conditions that can affect readings.   Adafruit forum member systembolaget has developed a system capable of quickly and reliably identifying many different colors and has put together an excellent tutorial on the subject. 

See the video and github repository link below:

This guide was first published on May 21, 2013. It was last updated on May 21, 2013.

This page (Identifying Colors) was last updated on Aug 22, 2019.

Text editor powered by tinymce.