\colortbl

{\colortbl
\redr\greeng\blueb;
.
.
.
}

The \colortbl statement creates a color table for the Help file. The color table consists of one or more color definitions. Each color definition consists of one \red, \green, and \blue statement specifying the amount of primary color to use to generate the final color. Each color definition must end with a semicolon (;).

Parameters

r

Specifies the intensity of red in the color. It must be an integer in the range 0 through 255.

g

Specifies the intensity of green in the color. It must be an integer in the range 0 through 255.

b

Specifies the intensity of blue in the color. It must be an integer in the range 0 through 255.

Comments

Color definitions are implicitly numbered starting at zero. A color definition’s implicit number can be used in the \cf statement to set the foreground color.

The default colors are the window text and window background colors set by Control Panel. To override the default colors, a \colortbl statement and \cf and \cb statements must be given.

Example

The following example creates a color table containing two color definitions. The first color definition is empty (only the semicolon is given), so color number 0 always represents the default color. The second definition specifies green; color number 1 can be used to display green text:

{\colortbl;\red0\green255\blue0;}

See Also

\cb, \cf

#:dg59w

{ewl navigate.dll, ewcright, /f"}

{}