Commands: Color SGR

Colors are set using SGR commands (like `\e[10;20;30m`). The following tables list the SGR codes to use. Selected colors are used for any new text entered, as well as for empty space when using line and screen clearing commands. The configured default colors can be restored using SGR 39 for foreground and SGR 49 for background.

The actual color representation depends on a color theme which can be selected in Terminal Settings.

Foreground colors

30 31 32 33 34 35 36 37
90 91 92 93 94 95 96 97

Background colors

40 41 42 43 44 45 46 47
100 101 102 103 104 105 106 107