Colors

Colors are specified as RGB (red/green/blue) values where each of the three components has a value between 0 and 255, inclusive.

If a property has a color value a Set Color... button can be used to open a color selection dialog.

A color palette can be defined for a stylesheet. This allows extra information to be defined for each color. This information can be used to control the representation of the color in specific output contexts.

Some commands have arguments that take a color value. To specify an RGB value, use a string starting with “#” and followed by exactly 6 hexadecimal digits. The first two digits contain the “red” component, the next two give the “green” component and the final two give the “blue” component.

A command argument may also specify a color by using one of the sixteen standard HTML color names defined in http://www.w3.org/TR/REC-html40/types.html#type-color.

The standard colors and their equivalent RGB descriptions are show below.