LFS Text Colour Playground
LFS colour codes work by prepending a caret (
^
) character before a number between 0-9. 8 uses the same colour as 9, but also resets the
codepage
LFS uses to encode your message. Every message in this playground begins with
^8
to reset the codepage initially.
The two character (
^#
) colour encoding is hidden in the resulting message. Colour text strings occupy more bytes in a string. A non-coloured character occupies 1 byte whereas a coloured character occupies 3 bytes, for example:
^0a
(Black a).
This tool is useful for writing the
welcome.txt
file which displays a welcome message to users entering your LFS server.
Note: This tool only supports LFS colour encodings. LFS codepage and special character encodings are not supported.