Color Syntax
Colors are specified by name as they appear in the color palettes. The names must be enclosed in double quotes. For example, "Ocean Green."
Alternatively, a color is specified using the special syntax:
"Rxxx Gyyy Bzzz"
or
"Rxxx Gyyy Bzzz Aaaa"
where xxx, yyy, and zzz specify a red, green, and blue color component and aaa specifies the opacity value, respectively. Each component can range from 0 to 255.
Example
"R0 G0 B0" |
All components are 0, resulting in black |
"R0 G255 B0" |
Pure green |
"R255 G255 B255" |
All components are at full intensity, resulting in bright white. |
"R255 G255 B255 A45" |
All components are at full intensity, resulting in bright white. Opacity is set to 18%. |