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