This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. |
This language element may be used inside a <trait> block.
Each, or any, of R, G and B may be an expression.
Sets the full-object color (using <color> is the same as using all three <color0> , <color1> and <color2> statements to set all three colors to be the same) of all objects, until the next color statement (unless the object is imagemapped or texturemapped, see the <imagemap> and <texturemap> language elements for more on that):
Parameters are:
R=0.0 to 1.0, G=0.0 to 1.0, B=0.0 to 1.0
Here are some reference colors for you:
Color | R G B Values |
---|---|
Black | 0 0 0 |
Blue | 0 0 1 |
Cyan | 0 1 1 |
Green | 0 1 0 |
Magenta | 1 0 1 |
Orange | 1 .5 .25 |
Red | 1 0 0 |
White | 1 1 1 |
Yellow | 1 1 0 |