Just noticed something cool in the wonderful world of LFS, Scawen is using the ECMA-48 standard for the chat colors!
They are pretty close, and you could then emulate the chat console in the linux console with InSim . Not to mention the system messages are also supported with things like blink and setting the color of the message on a rotation .
LFS Code LFS Color ECMA Code ECMA Color
^0 #000000 30 black foreground
^1 #FF0000 31 red foreground
^2 #00FF00 32 green foreground
^3 #FFFF00 33 brown foreground
^4 #0000FF 34 blue foreground
^5 #FF00FF 35 magenta (purple) foreground
^6 #00FFFF 36 cyan (light blue) foreground
^7 #FFFFFF 37 gray foreground
^8 <RESET> 0 all to default
^9 <RESET> 0 all to default
You can use 4X ECMA Code to set the background color of your text in the
Linux Console and there are some other useful command codes:
0 reset all attributes to their defaults
1 set bold
2 set half-bright (simulated with color on a color display)
22 set normal intensity
4 set underscore (simulated with color on a color display)(the colors used to simulate dim or underline are set using ESC ] ...)
24 underline off
5 set blink
25 blink off
7 set reverse video
27 reverse video off
38 set underscore on, set default foreground color
39 set underscore off, set default foreground color
47 set white background
49 set default background color
They are pretty close, and you could then emulate the chat console in the linux console with InSim . Not to mention the system messages are also supported with things like blink and setting the color of the message on a rotation .