Given an input string, it will return a new string with the ANSI codes for
magenta background around it.
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"
Magenta background code wrapper.
Remarks
Given an
input
string, it will return a new string with the ANSI codes for magenta background around it.Example
See