Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

13 Converting to HTML/XHTML > 13.7 Defining and mapping colors for HTML > 13.7.4 Using Web-safe colors


13.7.4 Using Web-safe colors

It is best to use Web-safe colors for HTML; otherwise you could run into browser palette issues. For example, if you do not specify a Web-safe value for Netscape, you get white. Because there are only 216 Web-safe colors, you are almost certain to have to redefine any colors you added to FrameMaker. However, the FrameMaker default colors are all Web safe.

For Web-safe colors that are rendered the same by all browsers, use color numbers 1 through 8, or define colors with elements of 00, 33, 66, 99, CC, or FF, which correspond to levels of 0%, 20%, 40%, 60%, 80%, and 100% in FrameMaker RGB settings. For example, RGB hexadecimal value 0099CC yields the color shown in Figure 13-2.

Figure 13-2 RGB color 0099CC

RGB color 0099CC

 

Table 13-3 lists the values you can use to define Web-safe RGB colors, in three different units of measurement.

Table 13-3 Ways to express Web-safe RGB color values

Units

Web-safe values for Red, Green, or Blue

Where used

Percent

0%

20%

40%

60%

80%

100%

FrameMaker color definitions

Hexadecimal

00

33

66

99

CC

FF

HTML; Mif2Go [Colors]

Decimal

0

51

102

153

204

255

Windows, some applications



13 Converting to HTML/XHTML > 13.7 Defining and mapping colors for HTML > 13.7.4 Using Web-safe colors