Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I cannot decide which forum to post this question but..

Luthien Unsung
Registered User
Join date: 13 Feb 2005
Posts: 409
07-26-2006 09:20
here seems as good as any:)

Does anyone know if there exists a colour equivalancy list anywhere?

Like this:
http://web.njit.edu/~kevin/rgb.txt.html

but for second life?

For example if i want to change the startcolor and endcolor on particles ?
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
07-26-2006 09:38
I hope this will be of some help. The colors that are used are based on Red-Green-Blue values. Normally, each of these ranges from 0-255, but SL uses a normalized version. Simply take the RGB value you want and divide each component by 255.

For example, pure red is <1,0,0>. Pure green is <0,1,0>. Pure blue is <0,0,1>. Pure white is <1,1,1>. etc.

I have a little program that I found somewhere online (but now can't figure out where I got it) called pickcolor.exe. It allows you to choose a color from a spectrum and see it in various formats, including RGB.

I hope that helps.
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
07-26-2006 10:02
The chart you've got there should be a pretty close match. Just take a look at the RGB values, and use those over 255, as Baron said.

In standard RGB, color values range from 0-255, providing a total of about 16 million possible colors (256 values each for red, green, and blue; 256x256x256 = 16,777,216 possible colors). In the version of RGB that SL uses, values range from 0-1, using decimals instead of intigers.

For some easy conversion examples, white in standard RGB is <255,255,255>; in SL it's <1,1,1>. Black standard is <0,0,0>; in SL it's also <0,0,0>. 50% gray in standard RGB is <127,127,127>. Divide each of those 127's by 255 and you get roughly .5, meaning 50% gray is <.5,.5,.5> (which is easy to see, considering that 50% gray is half way between absolute black and absolute white).

If you want to make a chart similar to the one in your link, simply plug in the data to an Excel sheet, and add a column that divides all the RGB values by 255. I'd recommend limiting the decimals to two or three places. There's no need to get more specific than that, since most people's systems are running in RGB mode, which means the displayed colors will be rounded to the closest 3-digit RGB equivilents anyway.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Gelob Magpie
Registered User
Join date: 16 Apr 2005
Posts: 18
07-26-2006 10:32
Grath Hazlit has a color finder in which converts the RGB values to SL values. I believe he is working on hex input also. Im sure he will be glad to give it to you if you contact him or contact me ingame and ill give you a copy.
Luthien Unsung
Registered User
Join date: 13 Feb 2005
Posts: 409
Thank you everyone very much:)
07-26-2006 10:45
you suggestions are most helpful and it all makes perfect sense now:))

I will contact you inworld Gelob and thanx again:)