The string to style.
The color to use for the background; hex code or named.
The ANSI-wrapped text with a background color and reset suffix.
\u001b[48;2;r;g;bm).color is invalid, it defaults to white.ANSI_RESET is appended to clear all styling after the text.bgColor("Warning", "#ffff00"); // yellow background
bgColor("Alert", "unknown"); // white background fallback
https://en.wikipedia.org/wiki/ANSI_escape_code — background color SGR.
Wrap text with an ANSI background color escape sequence.