My Colour Sensor doesn't detect the colours?

Modified on Tue, 2 Apr at 1:51 PM

To get the best out of your Colour Sensor:

- make sure that you have plugged it into the port that you have stated in the your code

- if you are detecting colours on the ground - position the sensor about 15mm above the ground

- if you have printed colours from the printer make sure that you are using the correct CMYK (Cyan, Magenta, Yellow and Black) values to generate the colours. These are the official combinations:

White (4 3 3 0)


Blue (100 55 0 0)


Black (40 30 30 100)


Green (84 0 100 0)


Yellow (0 19 100 0)
Red (0 100 100 7)


Medium Azur (71 0 17 0)


Bright Reddish Violet (28 100 12 2)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article