public toAnsi() as String
Serializes the style to a full 24-bit ANSI SGR escape sequence.
ANSI escape sequence string.
import klyn.code.highlighters ansi = SyntaxStyle(86, 156, 214).toAnsi() assert "38;2;86;156;214" in ansi