The pre-allocated color entries are listed in the following table.
index | color name | RGB triple |
BLACK (0) | black | (0,0,0) |
GRAY1 (1) | gray38 | (97,97,97) |
GRAY2 (2) | gray46 | (117,117,117) |
GRAY3 (3) | gray50 | (150,150,150) |
GRAY4 (4) | gray74 | (189,189,189) |
GRAY5 (5) | gray84 | (214, 214, 214) |
GRAY6 (6) | gray87 | (222,222,222) |
GRAY7 (7) | gray93 | (237,237,237) |
WHITE (8) | gray100 | (255,255,255) |
DARKRED (9) | red4 | (139,0,0) |
RED (10) | red1 | (255,0,0) |
GREEN (11) | green1 | (0,255,0) |
BLUE (12) | blue1 | (0,0,255) |
YELLOW (13) | yellow | (255,255,0) |
MAGENTA (14) | magenta | (255,0,255) |
CYAN (15) | cyan | (0,255,255) |
Entries 1--7 are used for displying widget borders. If a global
border has been set, or an application uses the
-background
command
line option, these entries may be modified.