ContentsIndexPreviousNext

COLOR_TABLE*

This variable is typically used when a character-based application is moved to a graphical environment. Use the COLOR_TABLE variable to cause transformations of individual color combinations. For example, a COLOR_TABLE entry might cause a red foreground on a black background to be translated to a white foreground on a blue background.

Follow the word COLOR_TABLE with the original foreground and background numbers, separated by a comma. Follow these by an equals sign and then the new foreground and background numbers, separated by a comma.

For example, to transform the color combination of foreground 5 on background 2, to foreground 13 on background 2, you would use:

     COLOR_TABLE   5, 2 = 13, 2

Foreground and Background Settings

1
low-intensity Black
2
low-intensity Blue
3
low-intensity Green
4
low-intensity Cyan
5
low-intensity Red
6
low-intensity Magenta
7
low-intensity Brown
8
low-intensity White
9
high-intensity Black
10
high-intensity Blue
11
high-intensity Green
12
high-intensity Cyan
13
high-intensity Red
14
high-intensity Magenta
15
high-intensity Brown
16
high-intensity White