|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
06-07-2006 12:54
Hi all! I was just wondring if you guys could help me with this. I don't really understand which color code is used when we need to add a bunch of colors its not RGB, I mean I tried putting rgb numbers to represent each color to change into but that never worked. Is there a way to convert html color code or rgb numbers into the one that we'd be able to put into the script in SL. I'm not a hard core scripter or anything thats why I don't know how to explain it properly .475,0,0 - red 0,0,0 - black etc etc I just want to know what the rest of the color codes like this is you know. Thats what i need help with Hope you all can help me. Thank you!
|
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
06-07-2006 13:04
Divide each RGB number by 255 to get them into LSL style. So RGB 255,255,255 becomes <1,1,1> etc. There are a couple of useful functions someone contributed on the main Wiki page on "color" that will calculate these for you if you prefer to work with RGB numbers. edit: http://secondlife.com/badgeo/wakka.php?wakka=color
|
|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
06-07-2006 14:02
oh i never knew about the /255 thing *points at himself* noob lol thank you very much for pointing that out to me.
|