Appearance
Standard bg colors (SGR 40-47)
SGR 40-47 set the background color to one of 8 standard colors: black (40), red (41), green (42), yellow (43), blue (44), magenta (45), cyan (46), white (47). Universally supported. As with foreground colors, the actual RGB values depend on the terminal's configured color scheme.
Supported by 5 of 6 backends (83%)
Support Matrix
| Backend | Version | Support | Notes |
|---|---|---|---|
| Alacritty | 0.26.0 | ✓ yes | |
| Ghostty | 1.3.1 | ✓ yes | |
| Kitty | 0.40.0 | ✓ yes | |
| vt100 | 0.1.0 | ✓ yes | |
| xterm.js | 5.5.0 | ✓ yes | |
| WezTerm | 0.1.0-fork.5 | ~ partial | Backend returns palette index instead of resolved RGB |