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
&ain plugin configs such as EssentialsX, chat formats, scoreboards and most menus.§ain vanilla places: signs, books and anything written by the game itself.\u00A7ainserver.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.7FF55for 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
- MOTD editor: Write your server-list message with colours and see exactly how it will look.
- Server icon converter: Turn any image into the 64×64 server-icon.png the server list needs.