Installation guide
Table Of Contents
- Gateway Customization Guide
- Contents
- Preface
- Introduction
- Setting Up the Gateway
- Gateway Installation Planning
- HTTP Server Configuration
- Creating a New Gateway Instance
- Gateway .conf File Configuration
- Configuring Gateway Clients
- Gateway Localization
- File Controlling Gateway Functionality
- Editing Entry Types
- Search Attributes, Filters, and Results
- Customizing Graphics and Color
- Parameters Defined in the .conf File
- Gateway Directives
- Introduction
- Context-Related Directives
- Entry-Related Directives
- DS_ENTRYBEGIN
- DS_ENTRYEND
- DS_ATTRIBUTE
- DS_OBJECTCLASS
- DS_VIEW_SWITCHER
- DS_SORTENTRIES
- DS_SEARCHDESC
- DS_POSTEDVALUE
- DS_EDITBUTTON
- DS_DELETEBUTTON
- DS_SAVEBUTTON
- DS_EDITASBUTTON
- DS_NEWPASSWORD
- DS_CONFIRM_NEWPASSWORD
- DS_OLDPASSWORD
- DS_HELPBUTTON
- DS_CLOSEBUTTON
- DS_BEGIN_ENTRYFORM
- DS_END_ENTRYFORM
- DS_EMIT_BASE_HREF
- DS_DNEDITBUTTON
- DS_BEGIN_DNSEARCHFORM
- DS_ATTRVAL_SET
- IF/ ELSE/ ELIF/ ENDIF
- Miscellaneous Directives
- CGI Usage
- Index
- List of Tables

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