\cfn
The \cf statement sets the foreground color. The new color applies to all subsequent text up to the next \plain or \cf statement.
Parameter
n
Specifies the color number to set as foreground. The number must be an integer number in the range 1 to the maximum number of colors specified in the color table for the Help file. If an invalid color number is specified, Windows Help uses the default foreground color.
Comments
No \plain or \cf statement is required if the \cf statement and subsequent text are enclosed in braces. Braces limit the scope of a character property statement to the enclosed text only.
If the \cf statement is not given, the default foreground color is the text color set by Control Panel.
Example
The following example displays green text:
{\colortbl;\red0\green255\blue0;}
{\cf1 This text is green.}
See Also
\cb, \colortbl