CLEAR |
= |
"\e[0m" |
|
Embed in a String to clear all previous ANSI sequences.
|
BOLD |
= |
"\e[1m" |
|
The start of an ANSI bold sequence.
|
BLACK |
= |
"\e[30m" |
|
Set the terminal‘s foreground ANSI color to black.
|
RED |
= |
"\e[31m" |
|
Set the terminal‘s foreground ANSI color to red.
|
GREEN |
= |
"\e[32m" |
|
Set the terminal‘s foreground ANSI color to green.
|
YELLOW |
= |
"\e[33m" |
|
Set the terminal‘s foreground ANSI color to yellow.
|
BLUE |
= |
"\e[34m" |
|
Set the terminal‘s foreground ANSI color to blue.
|
MAGENTA |
= |
"\e[35m" |
|
Set the terminal‘s foreground ANSI color to magenta.
|
CYAN |
= |
"\e[36m" |
|
Set the terminal‘s foreground ANSI color to cyan.
|
WHITE |
= |
"\e[37m" |
|
Set the terminal‘s foreground ANSI color to white.
|
ON_BLACK |
= |
"\e[40m" |
|
Set the terminal‘s background ANSI color to black.
|
ON_RED |
= |
"\e[41m" |
|
Set the terminal‘s background ANSI color to red.
|
ON_GREEN |
= |
"\e[42m" |
|
Set the terminal‘s background ANSI color to green.
|
ON_YELLOW |
= |
"\e[43m" |
|
Set the terminal‘s background ANSI color to yellow.
|
ON_BLUE |
= |
"\e[44m" |
|
Set the terminal‘s background ANSI color to blue.
|
ON_MAGENTA |
= |
"\e[45m" |
|
Set the terminal‘s background ANSI color to magenta.
|
ON_CYAN |
= |
"\e[46m" |
|
Set the terminal‘s background ANSI color to cyan.
|
ON_WHITE |
= |
"\e[47m" |
|
Set the terminal‘s background ANSI color to white.
|