Skip to content

COLORS variable

Home > streplts > COLORS

Collection of ANSI terminal text color escape sequences. *

Signature:

COLORS: {
readonly reset: "\u001B[0m";
readonly bold: "\u001B[1m";
readonly dim: "\u001B[2m";
readonly cyan: "\u001B[96m";
readonly green: "\u001B[92m";
readonly yellow: "\u001B[93m";
readonly red: "\u001B[91m";
readonly gray: "\u001B[90m";
readonly white: "\u001B[97m";
readonly blue: "\u001B[94m";
readonly up: (n: number) => string;
readonly right: (n: number) => string;
readonly left: (n: number) => string;
readonly down: (n: number) => string;
}