Skip to content

Text coloring, formatting and variables

OfficialRell edited this page Oct 14, 2026 · 4 revisions

Colors

With tags:

  • <red> ($\color{#ff0000}\text{█}$)
  • <green> ($\color{#00ff00}\text{█}$)
  • <light_blue> ($\color{#8080ff}\text{█}$)

With hex:

  • <#ffff00> ($\color{#ffff00}\text{█}$)
  • <#bd1e60> ($\color{#bd1e60}\text{█}$)

Gradients

  • <red-orange-yellow> ($\color{#ff0000}\text{█}\color{#ff4000}\text{█}\color{#ff8000}\text{█}\color{#ffbf00}\text{█}\color{#ffff00}\text{█}$)
  • <blue-light_blue> ($\color{#0000ff}\text{█}\color{#4040ff}\text{█}\color{#8080ff}\text{█}$)

Gradients support hex colors and mixing them with color tags.


Formats

  • bold: <!bold> or <!b>
  • italic: <!italic> or <!i>
  • underline: <!underline> or <!u>
  • strikethrough: <!strikethrough> or <!s>
  • obfuscated: <!obfuscated> or <!o>

Unicode

This is useful if you want to add custom symbols without modifying the format of the file.

  • u+263A ($\text{☺}$)
  • u+2764 ($\text{❤}$)

Placeholders

Attributes:

  • %value:i%: displays a number as an integer
  • %value:.n%: display a number as a decimal with n decimal points
  • %value:sn%: converts ticks to seconds (value / 20) with n decimal points; n is optional, defaults to 1
  • %value:r%: converts a number to a Roman numeral

Built-in color tags

Color As light As dark
$\color{#000000}\text{█}$ black #000000 - -
$\color{#ffffff}\text{█}$ white #ffffff - -
$\color{#ff0000}\text{█}$ red #ff0000 $\color{#ff8080}\text{█}$ #ff8080 $\color{#800000}\text{█}$ #800000
$\color{#00ff00}\text{█}$ green #00ff00 $\color{#80ff80}\text{█}$ #80ff80 $\color{#008000}\text{█}$ #008000
$\color{#0000ff}\text{█}$ blue #0000ff $\color{#8080ff}\text{█}$ #8080ff $\color{#000080}\text{█}$ #000080
$\color{#ffff00}\text{█}$ yellow #ffff00 $\color{#ffff80}\text{█}$ #ffff80 $\color{#808000}\text{█}$ #808000
$\color{#ff00ff}\text{█}$ purple #ff00ff $\color{#ff80ff}\text{█}$ #ff80ff $\color{#800080}\text{█}$ #800080
$\color{#ff8000}\text{█}$ orange #ff8000 $\color{#ffc080}\text{█}$ #ffc080 $\color{#804000}\text{█}$ #804000
$\color{#ffbf00}\text{█}$ gold #ffbf00 $\color{#ffdf80}\text{█}$ #ffdf80 $\color{#806000}\text{█}$ #806000
$\color{#ff0080}\text{█}$ magenta #ff0080 $\color{#ff80c0}\text{█}$ #ff80c0 $\color{#800040}\text{█}$ #800040
$\color{#00ffff}\text{█}$ aqua #00ffff $\color{#80ffff}\text{█}$ #80ffff $\color{#008080}\text{█}$ #008080
$\color{#8000ff}\text{█}$ lilac #8000ff $\color{#c080ff}\text{█}$ #c080ff $\color{#400080}\text{█}$ #400080
$\color{#80ff00}\text{█}$ lime #80ff00 $\color{#c0ff80}\text{█}$ #c0ff80 $\color{#408000}\text{█}$ #408000
$\color{#00ff80}\text{█}$ mint #00ff80 $\color{#80ffc0}\text{█}$ #80ffc0 $\color{#008040}\text{█}$ #008040
$\color{#0080ff}\text{█}$ sky #0080ff $\color{#80c0ff}\text{█}$ #80c0ff $\color{#004080}\text{█}$ #004080
$\color{#bfbfbf}\text{█}$ silver #bfbfbf $\color{#dfdfdf}\text{█}$ #dfdfdf $\color{#606060}\text{█}$ #606060
$\color{#808080}\text{█}$ gray #808080 $\color{#c0c0c0}\text{█}$ #c0c0c0 $\color{#404040}\text{█}$ #404040
$\color{#00ffbf}\text{█}$ cyan #00ffbf $\color{#80ffdf}\text{█}$ #80ffdf $\color{#008060}\text{█}$ #008060

Note, that when using the light or dark version of the color you must always use an underscore _ (e.g. light_red, dark_green)


Notes

If you want to show a literal tag, escape it with a backtick:

  • `<red> will display <red> instead of applying a color
  • `%value% will display %value%

Clone this wiki locally