Const
Set the foreground color to red
// ANSI Themered("text") // => "\x1b[31mtext\x1b[39m" (includes reset to default foreground)`${red}text` // => "\x1b[31mtext" (no reset included)red + "text" // => "\x1b[31mtext" (no reset included)red.concat("text") // => "\x1b[31mtext" (no reset included) Copy
// ANSI Themered("text") // => "\x1b[31mtext\x1b[39m" (includes reset to default foreground)`${red}text` // => "\x1b[31mtext" (no reset included)red + "text" // => "\x1b[31mtext" (no reset included)red.concat("text") // => "\x1b[31mtext" (no reset included)
Set the foreground color to red