CGDB supports several colors, depending on how many colors your terminal supports. Below is a chart of the colors that CGDB provides. The heading NR-16 is used to represent terminals that support at least 16 colors. The heading NR-8 is used to represent terminals that support at least 8 colors. The integer values for each color represent the values passed to the curses function init_pair() to ask curses to create a new color.
COLOR NAME
| NR-16
| NR-8
| NR-8 bold attribute
|
| Black | 0 | 0 | No
|
| DarkBlue | 1 | 4 | No
|
| DarkGreen | 2 | 2 | No
|
| DarkCyan | 3 | 6 | No
|
| DarkRed | 4 | 1 | No
|
| DarkMagenta | 5 | 5 | No
|
| Brown, DarkYellow | 6 | 3 | No
|
| LightGray, LightGrey, Gray, Grey | 7 | 7 | No
|
| DarkGray, DarkGrey | 8 | 0 | Yes
|
| Blue, LightBlue | 9 | 4 | Yes
|
| Green, LightGreen | 10 | 2 | Yes
|
| Cyan, LightCyan | 11 | 6 | Yes
|
| Red, LightRed | 12 | 1 | Yes
|
| Magenta, LightMagenta | 13 | 5 | Yes
|
| Yellow, LightYellow | 14 | 3 | Yes
|
| White | 15 | 7 | Yes
|