Const
Set the background color to red
// ANSI ThemebgRed("text") // => "\x1b[41mtext\x1b[49m" (includes reset to default background)`${bgRed}text` // => "\x1b[41mtext" (no reset included)bgRed + "text" // => "\x1b[41mtext" (no reset included)bgRed.concat("text") // => "\x1b[41mtext" (no reset included) Copy
// ANSI ThemebgRed("text") // => "\x1b[41mtext\x1b[49m" (includes reset to default background)`${bgRed}text` // => "\x1b[41mtext" (no reset included)bgRed + "text" // => "\x1b[41mtext" (no reset included)bgRed.concat("text") // => "\x1b[41mtext" (no reset included)
Set the background color to red