This post shows you how to detect colors with the Arduino using the TCS230/TCS3200 color sensor. The TCS3200 color sensor can detect a wide range of colors.