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