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 color of vertex1 of triangles. Also used in <texturemap> .
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 |