TinTin++ Mud Client Manual
ANSI Colors
space
Syntax: <abc> with a, b, c being parameters
space
Parameter 'a': VT100 code

0 - Reset all parameters to default
1 - Bold
2 - Dim
4 - Underscore
5 - Blink
7 - Reverse (back and foreground colors are reversed)
8 - Skip

Parameter 'b':  Foreground color
Parameter 'c':  Background color

0 - Black       5 - Magenta
1 - Red         6 - Cyan
2 - Green       7 - White
3 - Yellow      8 - Skip
4 - Blue        9 - Default
space
Xterm 256 Colors
space
For xterm 256 color support use <aaa> to <fff> for RGB foreground colors and <AAA> to <FFF> for RGB background colors.

For the grayscale foreground colors use <g00> to <g23> and for grayscale background colors use <G00> to <G23>.

space
Example: #showme <034>T<025>i<016>n<007>T<043>i<052>n<061>+<070>+<088>
space
Execute this in TinTin++ to see the actual result.
space
Example: #showme <fca> orange <cfa> lime <caf> indigo <acf> azure <fac> crimson
space
Execute this in TinTin++ to see the actual result, your terminal must support xterm 256 colors.
space
Truecolor
space
For 12 bit truecolor use <F000> to <FFFF> for foreground colors and <B000> to <BFFF> for background colors. The first character indicates F (foreground) or B (background) and the next three characters are hexadecimal RGB values. This allows for 4096 different colors. Keep in mind that not all terminals are truecolor capable.
space
For 24 bit truecolor foreground colors use \e[38;2;R;G;Bm where R G B are red/green/blue intensities between 0 and 255. For example: \e[37;2;50;100;150m.
space
For 24 bit truecolor background colors use \e[48;2;R;G;Bm.
space
See also: Escape Codes, Mathematics and Regular Expressions.
space