ANSI Color Codes

Reference for ANSI 8 + 8 bright terminal colors with foreground/background codes. Build and copy escape sequences.

Standard (30–37 / 40–47)

ColorFGBGSwatch
Black
Red
Green
Yellow
Blue
Magenta
Cyan
White

Bright (90–97 / 100–107)

ColorFGBGSwatch
Bright Black
Bright Red
Bright Green
Bright Yellow
Bright Blue
Bright Magenta
Bright Cyan
Bright White

Live escape sequence builder

\e[37mHello, terminal!\e[0m