All tools

Colour code reference

Every Minecraft colour and format code, with a live preview and one-click copy.

How Minecraft colour codes work

Every colour and style in Minecraft text is a two-character code: a marker followed by one letter or digit. The game's own marker is §. Most plugins also accept &, because it is on every keyboard, and convert it for you.

There are 16 colours, 0 to 9 and a to f, and six format codes: k obfuscated, l bold, m strikethrough, n underline, o italic and r reset. Type into the box above to try any combination, or click a swatch to insert one.

Which form to use where

  • &a in plugin configs such as EssentialsX, chat formats, scoreboards and most menus.
  • §a in vanilla places: signs, books and anything written by the game itself.
  • \u00A7a in server.properties. A raw § in that file is often mangled by the file's encoding, and the escaped form avoids it. The MOTD editor writes this for you.
  • &#55FF55 for any RGB colour on 1.16 and newer, but only in plugins that support hex. Older clients and plugins show it as plain text.

Order matters

In Java Edition, a colour code clears any formatting before it. &l&c gives plain red text, while &c&l gives bold red. If a style seems to vanish, the colour is in the wrong place. &r resets everything back to the default, which is useful in the middle of a line.

Bedrock players

Bedrock uses the same codes and Geyser passes them through, so a chat format written for Java looks the same to Bedrock players. Bedrock has no strikethrough or underline, so those two are dropped. Hex colours are rounded to the nearest of the 16 standard colours.

Free to use, no account needed. Everything happens in your own browser. Nothing you type is sent anywhere.

Filed under Presentation.

Other presentation tools

All Minecraft server tools · Guides for running a server

All 25 tools

Every tool runs in your browser and is free to use, whether you host with us or not. Most work offline once the page has loaded. The few that check something live, like a server's status or a player's skin, say so on their page.