Skip to content

9. ColorCodes

Philipp Bolte edited this page Sep 12, 2021 · 2 revisions

You can use the following ColorCodes in alle MOTDs and the VersionText.

&0 Black
&1 Dark Blue
&2 Dark Green
&3 Dark Aqua
&4 Dark Red
&5 Dark Purple
&6 Gold
&7 Gray
&8 Dark Gray
&9 Blue
&a Green
&b Aqua
&c Red
&d Purple
&e Yellow
&f White
&l Bold
&o Italic
&k Magic

HEX Support (1.16 and up)

Use the HEX color codes like to one above, meaning: Just throw it in front and it will color the text behind it.

  • Single HEX color: <#FFEDBC>
  • Gradient: <g:#ED4264:#FFEDBC> (add more colors to the gradient by appending :#CODE>)

Examples

<g:#ED4264:#FFEDBC>&lWelcome back, <#FFEDBC>&o%player%! %line%<g:#22c1c3:#fdbb2d>It's a %weather% &a%time%

<g:#ED4264:#FFEDBC:#22c1c3>Welcome newbie! %line%<g:#22c1c3:#fdbb2d>It's a &c%weather% %time%.