{FOREGROUND-COLOR } IS fg-color {FOREGROUND-COLOUR} {BACKGROUND-COLOR } IS bg-color {BACKGROUND-COLOUR}
Value | Color |
---|---|
0 | Black |
1 | Blue |
2 | Green |
3 | Cyan |
4 | Red |
5 | Magenta |
6 | Brown |
7 | White |
8 | Dark-Gray |
9 | Bright-Blue |
10 | Bright-Green |
11 | Bright-Cyan |
12 | Bright-Red |
13 | Bright-Magenta |
14 | Yellow |
Each control type determines the allowable set of colors and the interpretation of foreground color and background color. If either the foreground color or background color is omitted (or its particular value is not meaningful), then default colors are used. Each control class defines its own method of assigning default colors. Note that many host systems limit the ability to define a control's colors. The colors used will be as close to the requested colors as the host system allows.