
Changing Table Colors
88 Red Hat Directory Server Gateway Customization Guide • April 2005
In the example, the attribute is a standard HTML %color attribute, and color is an RGB
color value in the form
#rrggbb (or a standard color name, such as aquamarine).
Changing Table Colors
The following sections describe procedures for customizing the color of tables:
• Specifying Color Names and Color Codes
• Changing Color of Table Headings
• Changing the Background Color of Table Rows
Specifying Color Names and Color Codes
There are two ways to specify colors:
• Use a color value, a six digit hexadecimal number known as the red-green-blue
(RGB) triplet. The RGB triplet always begins with a hash mark (
#) followed by 3
2-digit codes that represent the amount of red, green, and blue that make up the color
(
#rrggbb). There are over 16 million RGB color codes.
• Use a color name. There are sixteen standard case-insensitive color names. Table 7-4
lists the sixteen standard color names and their equivalent RGB values.
Table 7-4 Sixteen Standard Colors and Their Hexadecimal Values
Color Name Hexadecimal Value
black #000000
silver #C0C0C0
gray #808080
white #FFFFFF
maroon #800000
red #FF0000
purple #80080
fuchsia #FF00FF
green #008000
lime #00FF00
Commenti su questo manuale