Forum
CS2D General colour codecolour code
9 replies 1
http://html-color-codes.com/
©000255000-green
-Skull_ has written
Little boy there you go Colour Code Maker
I get this error:
http://img190.imageshack.us/img190/1585/errorqin.jpg
use this page to get rgb values for a color http://www.colorschemer.com/online.html
(or a good graphic program of your choice)
the cs2d color code works this way:
© RRR GGG BBB
© = tells cs2d that the following 9 chars are a color code
rrr = 3 numbers for red (with leading zeros if <100)
ggg = 3 numbers for green (with leading zeros if <100)
bbb = 3 numbers for blue (with leading zeros if <100)
some examples:
©255000000 = red (r=255, g=0, b=0)
©000255000 = green (r=0, g=255, b=0)
©000000255 = blue (r=0, g=0, b=255)
©000000000 = black (r=0, g=0, b=0)
©255255255 = white (r=255, g=255, b=255)
©255255000 = yellow (r=255, g=255, b=0)
©255128000 = orange (r=255, g=128, b=0)
attention: color codes have to be at the beginning of a text/line! otherwise they are not going to work!
1