“The Colour Sensor is easy to get working and your project will be reliably differentiating between colours in no time.
We are using this module to accurately determine the colour of moving objects.
TIP: If you are using this to measure the colour of moving objects avoid sensing consistently(every 50ms is the maximum sequential read for this) because you will get a range, instead trigger reads on demand when your object is at its optimum position.”