Hi, how do i read the RGB value from a led?

Hi,

how do i read the RGB value from a led?

Allan

The single values you get with

byte red = leds[ number ].r;
byte green = leds[ number ].g;
byte blue = leds[ number ].b;

and the complete RGB value you get with

CRGB pixel = leds[ number ];

Hi,

Thanks.

Allan