Справочник Пользователя для Red Hat Version4.1
Chapter 7, Customizing Graphics and Color 77
Changing Table Colors
Changing Table Colors
Specifying Color Names and Color
Codes
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.
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 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
olive
#808000