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