21.8 Specifying text colors

You can specify colors for both character and paragraph formats. Text color is set in the CSS, and also in the <font> tags, if you leave them enabled.

If you want certain paragraph or character formats to have colors different from those in your FrameMaker document, you can do the following:

1. Identify the color you want (or define a new color) by number, and assign to it a hexadecimal color value:

[Colors]

nnn = ffffff

See §13.7.2 Mapping FrameMaker colors to new values.

2. Assign the color, by number, to the paragraph or character format:

[HtmlStyles]

; Color1 - Color254 color text as defined in Frame and [Colors]

; NoColor suppresses use of the <font color=...> in the style.

Fmtname = Colornnn

For example:

[Colors]

; Major headings should be blue:

102 = 0000ff

; Cautionary notes should be red:

99 = ff0033

[HtmlStyles]

Heading1 = Color102

Caution = Color99

Sidetip = NoColor