Takes an input string and adds the ANSI codes for red background.
input
backgroundRed("Vangware"); // "\x1b[41mVangware\x1b[49m"// It can also be used as a tag function for tagged templates:backgroundRed`Vangware`; // "\x1b[41mVangware\x1b[49m"
input string with red background.
Rest
Takes an
input
string and adds the ANSI codes for red background.Example
Returns
input
string with red background.