SyntaxFix
Write A Post
Hire A Developer
Questions
var to_rgb = function (_text, _r, _g, _b) { return "\x1b[38;2;" + _r + ";" + _g + ";" + _b + "m" + _text + "\x1b[0m"; };
This code help set foreground color: \x1b[38;2;R;G;Bm
\x1b[38;2;R;G;Bm
This may not work some places