Given an input string, it will return a new string with the ANSI codes for
magenta foreground.
Example
foregroundMagenta("Vangware"); // "\x1b[35mVangware\x1b[39m" // It can also be used as a tag function for tagged templates: foregroundMagenta`Vangware`; // "\x1b[35mVangware\x1b[39m"
Magenta foreground code wrapper.
Remarks
Given an
input
string, it will return a new string with the ANSI codes for magenta foreground.Example
See