LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Quick question, what colors does the NXT color sensor support? Is it the entire rainbow or only specific colors?

share|improve this question
up vote 4 down vote accepted

It depends on which version you're talking about.

NXT 1.0 Light Sensor: This sensor should detect up to 100 shades from white(100) to black(0).

NXT compatible Hitechnic Color Sensor: This sensor will detect 17 colors including white(17) and black(0) or 100 shades from white(100) to black(0).

NXT 2.0 Color Sensor: This sensor can detect 6 colors including white(6) and black(1).

To complete the list (even though it is not backward compatible with NXT) - EV3 Color Sensor: This sensor can detect 7 colors which are the same as the NXT 2.0 sensor plus “No Color”? Yes, according to LEGO's website, this new sensor can detect when there's no color. Does this means white or that the detector is not sensing a color? This needs to be validated too.

This is one area where, as new versions are coming out, the possibilities of the sensors are diminishing.

share|improve this answer
So I should try to find an older model? Seems kind of silly they would remove functionality... Is there then an advantage to even using the second model? Faster speed / detection, faster data transfer, or is it same but with less color support? – thedeadlybutter Feb 4 '13 at 22:06
This simplification is probably is link to two factors: the sensors design itself and (most probably) keeping it simple for the target users. Do you need a wide range of color sensing? – pcantin Feb 4 '13 at 22:52
It would help but I figured out a way to reduce the colors needed. Thanks for your help! – thedeadlybutter Feb 5 '13 at 3:45
The EV3 sensors are not compatible with NXT. Only the motors are. – Carl Smith Feb 13 '13 at 3:27
The NXT 1.0 sensor is a light sensor, it does not differentiate colors - only 100 shades of light. The 2.0 sensor can be used in "raw" mode (in NXC for example) where it could distinguish many colors, and it can also be used as a light sensor generating a 0-100 value. Therefore, there was no removal of functionality :) – Conrado PLG Feb 22 '13 at 14:08

The NXT 2.0 Colour Sensor can detect black, blue, green, yellow, red and white but cannot distinguish between different shades of colours (for example, different shades of green).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.