Changing Table Colors
DS_NEWENTRY_TYPE_BODY -->
In the example, the attribute is a standard HTML
RGB color value in the form #rrggbb (or a standard color name, example,
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 6-4 lists the sixteen standard color names and their equivalent RGB
values.
Table 6-4
Color Name
black
silver
gray
white
maroon
red
purple
fuchsia
76
Netscape Directory Server Gateway Customization Guide • December 2003
Sixteen Standard Colors and their Hexadecimal Values
attribute and color is an
%color
Hexadecimal Value
#000000
#C0C0C0
#808080
#FFFFFF
#800000
#FF0000
#80080
#FF00FF
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION and is the answer not in the manual?
Questions and answers