I am creating an arduino project that will display the value of a sensor in an LED array. Because the device is to be deployed outdoors, I wonder if there is a better color for the LEDs to be visible outdoors.

I read that because red is the more intense it could be it, but also that green because we see better on that wavelength.

Is there really a difference in the visibility of LED colors outdoors? And a reason why?

  • 1
    And yellow to see through fog. As you can see, there are many reasons to pick many colors. Please be more specific in your application. For example, pick red for night time so as not to disturb people's night vision. – st2000 May 22 '16 at 17:38
  • I think at night any color will be visible. The problem is during the day as the wave length of the led can be similar to the sun light so the human eye may not see it. That will be my guess. – Camilo May 23 '16 at 5:32
  • Use RGBY combination based on weather? Would then be visible in fog, dark, daylight and everything. – Avamander May 24 '16 at 20:46

The three values for RGB colour space is 255^3 (16,581,375) colours. These include each and every brightness level too. Some of these just won't display on LED strips. You may have more success or find it easier to use a HSL or HSV colour space.

HSV uses Hue, Saturation and Value instead of RGB. FastLED has optimized it's implementation of HSV to use a 0-255 addressing for Hue (instead of 360), keeping it fast for animations run on microcontrollers:


try this code out in your arduino:

void rainbow_fade() {                        
int ihue = 0; //some microcontrollers use the normal HSV from 0-360 vs FastLED's 0-255               
if (ihue > 255) {ihue = 0;}
for(int i = 0 ; i < LED_COUNT; i++ ) {
 leds[i] = CHSV(ihue, 255, 255);
| improve this answer | |
  • That doesn't answer the question, not even is about the same subject. OP is asking what color have better visibility outdoors. – user31481 Aug 10 '17 at 18:00
  • how so? this is exactly what @Camilo was asking. what colors are better for outdoor use. if you read about HSV it performs with more of an intensity than RGB. – Oddacon Aug 11 '17 at 21:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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