ive been thinkin of making a color sensor tutorial for awhile now . . . and not just for visible light . . .
what dunk said is the cheapest/easiest way . . .
the taos sensors are for only a single color, so you would need multiple of those designed for different colors . . . those are higher precision, meaning they work great for telling the difference between shades of colors.