This attribute controls the color of text and horizontal rules, though setting color for horizontal rules is not supported in OEB or in version 1.0 of Microsoft Reader. Colors must be given by name or by 6-digit hex; RGB (integer and percentage) and 3-digit hex are only supported for the CSS style property, color
, not for this attribute.
The 16 basic color names must be given as lower case, as they are case-sensitive. For a list of color names and 6-digit-hex colors, see HTML Color Name Codes and Numeric Codes.
Note: White text does not display properly on some PocketPC devices, which still display ClearType hinting on the white-on-white characters. Most devices (and all desktop Readers) display white text correctly.
Syntax
color="(number|name)"
Associated Tags
font, hr
© 2000 Microsoft Corporation. All rights reserved. Terms of use.