** CUBE CODE ** LED RGB COLOUR VALUES

The "Cube4" is a 4x4x4 RGB LED cube with an Arduino Leonardo compatible onboard controller. [Product page]
Post Reply
sparky-nz
Posts: 25
Joined: Wed Oct 02, 2013 9:16 pm

** CUBE CODE ** LED RGB COLOUR VALUES

Post by sparky-nz » Tue Oct 08, 2013 10:06 am

HIYA

you might find this useful.

These are the RGB values I use for my cube LED's

you can p[lay around with RGB values by going here...

http://www.rapidtables.com/web/color/RGB_Color.htm

OR GO HERE... for a free colour mixing program,

http://www.vias.org/simulations/bin/colormix_eng.zip

  • MY RGB CODE FOR LED as R G B

    RED 255 000 000

    GREEN 000 255 000

    BLUE 000 000 255

    WHITE 255 255 255

    YELLOW 255 140 000

    ORANGE 255 60 000

    PINK 255 000 127

drphilgood
Posts: 26
Joined: Mon Mar 17, 2014 1:55 pm

Re: ** CUBE CODE ** LED RGB COLOUR VALUES

Post by drphilgood » Mon Mar 17, 2014 2:10 pm

Add this to your cube.cpp

This is a listing of all the HTML codes as RGB as well as pantone name reference. Note though, as the LED controls aren't too precise you're not gooing to get full spectrum

#define WHITE RGB(255,255,255)
#define IVORY RGB(255,255,240)
#define LIGHTYELLOW RGB(255,255,224)
#define SNOW RGB(255,250,250)
#define FLORALWHITE RGB(255,250,240)
#define LEMONCHIFFON RGB(255,250,205)
#define CORNSILK RGB(255,248,220)
#define SEASHELL RGB(255,245,238)
#define LAVENDERBLUSH RGB(255,240,245)
#define PAPAYAWHIP RGB(255,239,213)
#define BLANCHEDALMOND RGB(255,235,205)
#define MISTYROSE RGB(255,228,225)
#define BISQUE RGB(255,228,196)
#define MOCCASIN RGB(255,228,181)
#define NAVAJOWHITE RGB(255,222,173)
#define PEACHPUFF RGB(255,218,185)
#define PINK RGB(255,192,203)
#define LIGHTPINK RGB(255,182,193)
#define LIGHTSALMON RGB(255,160,122)
#define HOTPINK RGB(255,105,180)
#define OLDLACE RGB(253,245,230)
#define LIGHTGOLDENRODYELLOW RGB(250,250,210)
#define LINEN RGB(250,240,230)
#define ANTIQUEWHITE RGB(250,235,215)
#define SALMON RGB(250,128,114)
#define GHOSTWHITE RGB(248,248,255)
#define MINTCREAM RGB(245,255,250)
#define WHITESMOKE RGB(245,245,245)
#define BEIGE RGB(245,245,220)
#define WHEAT RGB(245,222,179)
#define AZURE RGB(240,255,255)
#define HONEYDEW RGB(240,255,240)
#define ALICEBLUE RGB(240,248,255)
#define KHAKI RGB(240,230,140)
#define LIGHTCORAL RGB(240,128,128)
#define PALEGOLDENROD RGB(238,232,170)
#define VIOLET RGB(238,130,238)
#define DARKSALMON RGB(233,150,122)
#define LAVENDER RGB(230,230,250)
#define LIGHTCYAN RGB(224,255,255)
#define BURLYWOOD RGB(222,184,135)
#define PLUM RGB(221,160,221)
#define GAINSBORO RGB(220,220,220)
#define PALEVIOLETRED RGB(219,112,147)
#define ORCHID RGB(218,112,214)
#define THISTLE RGB(216,191,216)
#define LIGHTGRAY/LIGHTGREY RGB(211,211,211)
#define TAN RGB(210,180,140)
#define SILVER RGB(192,192,192)
#define DARKKHAKI RGB(189,183,107)
#define ROSYBROWN RGB(188,143,143)
#define POWDERBLUE RGB(176,224,230)
#define LIGHTSTEELBLUE RGB(176,196,222)
#define PALETURQUOISE RGB(175,238,238)
#define LIGHTBLUE RGB(173,216,230)
#define DARKGRAY/DARKGREY RGB(169,169,169)
#define PALEGREEN RGB(152,251,152)
#define MEDIUMPURPLE RGB(147,112,219)
#define LIGHTGREEN RGB(144,238,144)
#define DARKSEAGREEN RGB(143,188,143)
#define LIGHTSKYBLUE RGB(135,206,250)
#define SKYBLUE RGB(135,206,235)
#define GRAY/GREY RGB(128,128,128)
#define AQUAMARINE RGB(127,255,212)
#define MEDIUMSLATEBLUE RGB(123,104,238)
#define LIGHTSLATEGRAY RGB(119,136,153)
#define SLATEGRAY RGB(112,128,144)
#define DIMGRAY/DIMGREY RGB(105,105,105)
#define MEDIUMAQUAMARINE RGB(102,205,170)
#define CORNFLOWERBLUE RGB(100,149,237)
#define CADETBLUE RGB(95,158,160)
#define MEDIUMTURQUOISE RGB(72,209,204)
#define STEELBLUE RGB(70,130,180)
#define ROYALBLUE RGB(65,105,225)
#define TURQUOISE RGB(64,224,208)
#define MEDIUMSEAGREEN RGB(60,179,113)
#define LIGHTSEAGREEN RGB(32,178,170)
#define DODGERBLUE RGB(30,144,255)
#define AQUA RGB(0,255,255)
#define CYAN RGB(0,255,255)
#define SPRINGGREEN RGB(0,255,127)
#define MEDIUMSPRINGGREEN RGB(0,250,154)
#define DARKTURQUOISE RGB(0,206,209)
#define DEEPSKYBLUE RGB(0,191,255)
#define DARKCYAN RGB(0,139,139)
#define TEAL RGB(0,128,128)
#define BLACK RGB(0,0,0)
#define DARKGREEN RGB(0,100,0)
#define MAROON RGB(128,0,0)
#define GREEN RGB(0,128,0)
#define NAVY RGB(0,0,128)
#define DARKRED RGB(139,0,0)
#define DARKBLUE RGB(0,0,139)
#define DARKSLATEGRAY RGB(47,79,79)
#define MEDIUMBLUE RGB(0,0,205)
#define INDIGO RGB(75,0,130)
#define SADDLEBROWN RGB(139,69,19)
#define FIREBRICK RGB(178,34,34)
#define BROWN RGB(165,42,42)
#define RED RGB(255,0,0)
#define LIME RGB(0,255,0)
#define BLUE RGB(0,0,255)
#define PURPLE RGB(128,0,128)
#define DARKMAGENTA RGB(139,0,139)
#define SIENNA RGB(160,82,45)
#define CRIMSON RGB(220,20,60)
#define ORANGERED RGB(255,69,0)
#define DARKVIOLET RGB(148,0,211)
#define INDIANRED RGB(205,92,92)
#define TOMATO RGB(255,99,71)
#define MAGENTA/FUCHSIA RGB(255,0,255)
#define DEEPPINK RGB(255,20,147)
#define MEDIUMVIOLETRED RGB(199,21,133)
#define MIDNIGHTBLUE RGB(25,25,112)
#define FORESTGREEN RGB(34,139,34)
#define BLUEVIOLET RGB(138,43,226)
#define SEAGREEN RGB(46,139,87)
#define LIMEGREEN RGB(50,205,50)
#define DARKORCHID RGB(153,50,204)
#define DARKSLATEBLUE RGB(72,61,139)
#define DARKOLIVEGREEN RGB(85,107,47)
#define MEDIUMORCHID RGB(186,85,211)
#define SLATEBLUE RGB(106,90,205)
#define OLIVEDRAB RGB(107,142,35)
#define LAWNGREEN RGB(124,252,0)
#define CHARTREUSE RGB(127,255,0)
#define OLIVE RGB(128,128,0)
#define YELLOWGREEN RGB(154,205,50)
#define GREENYELLOW RGB(173,255,47)
#define DARKGOLDENROD RGB(184,134,11)
#define PERU RGB(205,133,63)
#define CHOCOLATE RGB(210,105,30)
#define GOLDENROD RGB(218,165,32)
#define SANDYBROWN RGB(244,164,96)
#define DARKORANGE RGB(255,140,0)
#define ORANGE RGB(255,165,0)
#define CORAL RGB(255,127,80)
#define GOLD RGB(255,215,0)
#define YELLOW RGB(255,255,0)

dretch
Posts: 1
Joined: Fri Jan 06, 2017 9:15 am

Re: ** CUBE CODE ** LED RGB COLOUR VALUES

Post by dretch » Fri Jan 06, 2017 9:20 am

Hi, Could you please give the code of Linen ? I am looking here in Australia for my matching of curtains and bedroom paint!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest