Hello,
I have a little christmas tree with ws2811 Leds and using octows2811 library.
I'm thinking I want to be able to program colors by name rather than rgb values.
Like whats in BasicTest.ino but with more colors
I'm also thinking there might be something already available or some standard set, maybe html colors or something.
Google didn't give me exactly what i'm after.
Something like this where someone else has already done the typing would be good.
Thanks.
I have a little christmas tree with ws2811 Leds and using octows2811 library.
I'm thinking I want to be able to program colors by name rather than rgb values.
Like whats in BasicTest.ino but with more colors
Code:
#define RED 0xFF0000
#define GREEN 0x00FF00
#define BLUE 0x0000FF
#define YELLOW 0xFFFF00
#define PINK 0xFF1088
#define ORANGE 0xE05800
#define WHITE 0xFFFFFF
I'm also thinking there might be something already available or some standard set, maybe html colors or something.
Google didn't give me exactly what i'm after.
Something like this where someone else has already done the typing would be good.
HTML:
http://www.rapidtables.com/web/color/html-color-codes.htm
Thanks.