Basic chat formats
Jun 10, 2021 @ 4:55am1171
SecretsEnglish
Basic formats
As far as I know the in-game chat supports hex color codes and 6 text effects.
Simply put 6 digits (0-9) or letters (A-F) between brackets before the text to change the color.
Some examples:
[ff0000] = Red
[00ff00] = Green
[0000ff] = Blue
[ffff00] = Yellow
For more color combination you can checkout wiki[en.wikipedia.org] or google 'hex color codes' and you should be able to find some useful websites that generate color codes for you.
*Because Steam also use similar formats so I can't put [] here, please replace <> with [] on your own.
<b> = Bold text
<i> = Italic text
<s> = Strikethrough text
<u> = Text with underline
<sup> = Make text position higher than normal ones
<sub> = Make text position lower than normal ones
Text color
Simply put 6 digits (0-9) or letters (A-F) between brackets before the text to change the color.
Some examples:
[ff0000] = Red
[00ff00] = Green
[0000ff] = Blue
[ffff00] = Yellow
For more color combination you can checkout wiki[en.wikipedia.org] or google 'hex color codes' and you should be able to find some useful websites that generate color codes for you.
Text effects
*Because Steam also use similar formats so I can't put [] here, please replace <> with [] on your own.
<b> = Bold text
<i> = Italic text
<s> = Strikethrough text
<u> = Text with underline
<sup> = Make text position higher than normal ones
<sub> = Make text position lower than normal ones
Examples
*Replace < and > with [ and ]
normal text <b>bold text
<i>italic text <s>strike text <u>underline text - strikethrough effect overwrites the next word because we didn't cancel it with the </s> command
<i>italic text
<s>strike text
<u>underline text
<b>BOLD</b><i>italic</i><s>STRIKE</s><u>underline</u> - adding </b> or </i> </s> </u> at the end of each word so you can make sure they don't overwrite to the next word
<sup>UP</sup>normal<sub>DOWN</sub>
<ffffff>白日依山盡<ffff00>黃河入海流