13.7.2 Mapping FrameMaker colors to new values

You specify color values in this section of the configuration file:

[Colors]

; color name = hex RGB value (names as used by Frame), or

; color number = hex RGB value; color number 0 is invisible

; 1..8 = black, white, red, green, blue, cyan, magenta, yellow

; more may be defined in the Frame file; this overrides them

; numbers up to 255 may be defined here and used in [HtmlStyles]

; for example, 100=804000 defines 100 as olive brown

To map colors, assign hexadecimal RGB values to either of the following:

Colors you defined in your FrameMaker document, by color name.

Default FrameMaker colors, by color number; FrameMaker color numbers for default colors are listed in Table 13-2.

Table 13-2 Color numbers for default FrameMaker colors

Color:

Black

White

Red

Green

Blue

Cyan

Magenta

Yellow

Number:

1

2

3

4

5

6

7

8

If you defined a color in FrameMaker and want to adjust the color for HTML, you can redefine it; for example:

[Colors]

; Change SeaWater to a Web-safe color

SeaWater=0099CC

Note:  Whenever you define a color in FrameMaker, start the color name with a letter. If the first character in the name is a digit, Mif2Go assumes the entry is a color number.

To map a default FrameMaker color to some other color, you can give its number a new RGB value; for example:

[Colors]

; Replace Cyan with SeaWater

6=0099CC

See also §21.8 Specifying text colors.

Color mappings do not affect illustrations

The colors you map in the [Colors] section are not applied to illustrations created with FrameMaker drawing tools. To change colors in FrameMaker illustrations, you must redefine the colors in a conversion template; see §2.4 Importing formats from a conversion template. However, see §13.7.5 Redefining colors via conversion template for a reason not to do so.