Contents Up << >>

### definecolour:4

Defines a new colour that can be used in the document (RTF only). This command can also be spelt `\definecolor`.

The first argument is the lower-case name of the colour, and the following three arguments specify the red, green and blue intensities, in the range 0 to 255.

The default colours are equivalent to the following definitions:

        \definecolour{black}{0}{0}{0}
        \definecolour{cyan}{0}{255}{255}
        \definecolour{green}{0}{255}{0}
        \definecolour{magenta}{255}{0}{255}
        \definecolour{red}{255}{0}{0}
        \definecolour{yellow}{255}{255}{0}
        \definecolour{white}{255}{255}{255}

To use colours in a document, use the `\fcol` and `\bcol` commands.

Note that a document that defines its own colours should be converted twice within the same Tex2RTF session.