SGR 100–107 — Bright background color
Bright variants of the 8 basic background colors.
Byte forms
Every common string-literal form so you can paste-and-search either direction.
\\x1b[
\x1b[101m (bright red bg, 100–107)\\033[
\033[101m\\e[
\e[101mESC [
ESC [ 1 0 1 mhex
1b 5b 31 30 31 6dDescription
Bright background equivalents of 40–47. 100 bright black, 101 bright red, ..., 107 bright white. Same aixterm extension as 90–97 for foreground.
Spec citation: aixterm color extension
Examples
for c in 100 101 102 103 104 105 106 107; do printf "\033[${c}m \033[0m"; done; echofor c in range(100, 108): print(f'\x1b[{c}m \x1b[0m', end='')for c := 100; c <= 107; c++ { fmt.Printf("\x1b[%dm \x1b[0m", c) }for (let c = 100; c <= 107; c++) process.stdout.write(`\x1b[${c}m \x1b[0m`)for (int c = 100; c <= 107; c++) printf("\x1b[%dm \x1b[0m", c);Terminal support
- xterm
- yes
- Linux console (fbcon)
- yes
- macOS Terminal.app
- yes
- iTerm2
- yes
- Windows Terminal
- yes
- cmd.exe / ConPTY
- yes
- kitty
- yes
- alacritty
- yes
- WezTerm
- yes
- Ghostty
- yes
- GNOME Terminal
- yes
- Konsole
- yes
- tmux
- no
- GNU screen
- no
| xterm | Linux console (fbcon) | macOS Terminal.app | iTerm2 | Windows Terminal | cmd.exe / ConPTY | kitty | alacritty | WezTerm | Ghostty | GNOME Terminal | Konsole | tmux | GNU screen |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | no | no |