Author Topic: 4 diget coler codes  (Read 835 times)

im trying to use some color codes and i was wondering if some one could tell me what each diget mans... and the 3 digets...

"1 0 1 1"
"1 1 0"

plz tell me witch ones is red green blue...and alpha if the 4 is that.

"1 1 1 1"
Red, Blue, Green, Opacity.
That mixture would be pure white.

Another example:
"1 0 0 0.5"
That mixture would be transparent Red.

"1 1 1 1"
Red, Blue, Green, Opacity.
That mixture would be pure white.

Another example:
"1 0 0 0.5"
That mixture would be transparent Red.
Is there any list of them or something?
That would be usefull.

Here's a sample chart:
http://www.w3schools.com/Html/html_colors.asp

Take the RGB and put it into here:
%color = "255 0 255"; echo(VectorScale(%color, 1/255));

They're the usual RGBA values except they range from 0-1 instead of 0-255, so you need to divide the values by 255.

and for some more help, its 'digit' and 'color'