Colour Arguments
Colour arguments are made up of either three or four components - the red, green, blue and optionally transparency.
Each is a number between 0 (none) and 1 (maximum).
Each is separated from the other with a comma.
For instance, black (which has no colour), would be 0,0,0.
The transparency is between 0 (totally transparent) and 1 (totally opaque). Note that not all effects actually support the transparency parameter.
A semi-transparent white would be 1,1,1,0.5.
Common Colours
Colour | Value |
---|---|
White | 1,1,1 |
Black | 0,0,0 |
Red | 1,0,0 |
Green | 0,1,0 |
Blue | 0,0,1 |
Yellow | 1,1,0 |
Cyan | 0,1,1 |
Magenta | 1,0,1 |