Given an input string, it will return a new string with the ANSI codes for
black background around it.
Example
backgroundBlack("Vangware"); // "\x1b[40mVangware\x1b[49m" // It can also be used as a tag function for tagged templates: backgroundBlack`Vangware`; // "\x1b[40mVangware\x1b[49m"
Black background code wrapper.
Remarks
Given an
input
string, it will return a new string with the ANSI codes for black background around it.Example
See