Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Color in script

Ray Zymurgy
Registered User
Join date: 5 Aug 2007
Posts: 12
01-09-2008 16:24
where i can find all color code

i need change color in hoveringtext ....i know The <1.0,1.0,1.0> is the color the text will show in Float form, 1.0,1.0,1.0
// being WHITE while, 0.0, 0.0, 0.0 is BLACK this is all in RGB (Red, Green, Blue).
// experiement with combinations to get different colors.

thx for info
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
01-09-2008 16:27
This thread from a couple of days ago has everything you need and more:

/327/79/233905/1.html

:)
Debbie Trilling
Our Lady of Peenemünde
Join date: 17 Oct 2006
Posts: 434
01-09-2008 16:28
Literally hundreds here :)

/54/c1/209705/1.html
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
01-09-2008 17:34
drop this in a prim, when you choose a color in the color picker (in the edit window) it will automaticly tell you the vector value which you just copy out of chat and paste back into your script

From: someone

//<--- Osgelds Handy Dandy Color Converter --->//
default
{
changed(integer change)
{
if (change & CHANGED_COLOR)
{
llOwnerSay((string) llGetColor(ALL_SIDES));
}
}
}


and shure beats a long list of just a few hundered colors

or if you know the Red Green and Blue values of the color you want just devide them by 255 (ie 128/255 = 0.5)
Debbie Trilling
Our Lady of Peenemünde
Join date: 17 Oct 2006
Posts: 434
01-09-2008 17:57
From: Osgeld Barmy
shure beats a long list of just a few hundered colors


sure does!

nice lil handy dandy utility. Thanks!
Infrared Wind
Gridologist
Join date: 7 Jan 2007
Posts: 662
03-27-2008 07:04
Thanks a sweet bit! Came in handy dandy indeed.

From: Osgeld Barmy
drop this in a prim, when you choose a color in the color picker (in the edit window) it will automaticly tell you the vector value which you just copy out of chat and paste back into your script



and shure beats a long list of just a few hundered colors

or if you know the Red Green and Blue values of the color you want just devide them by 255 (ie 128/255 = 0.5)