Takes an input string and adds the ANSI codes for black foreground.
Example
foregroundBlack("Vangware"); // "\x1b[30mVangware\x1b[39m" // It can also be used as a tag function for tagged templates: foregroundBlack`Vangware`; // "\x1b[30mVangware\x1b[39m"
Takes an
input
string and adds the ANSI codes for black foreground.Example
Returns
input
string with black foreground.