Functionsยง
- convert
- Convert shorthand color codes into actual color codes.
Best if used in conjunction with the
format!
macro. - Print string
s
in colorcolor
. Supports ANSI colors. - printf
- Print string with color. Syntax specified in
convert()
documentation. - println
- Print string
s
in colorcolor
with a newline. Supports ANSI colors. - printlnf
- Print string
s
with color with a newline. Syntax specified inconvert()
documentation.