Colour Codes
Minecraft colour and formatting codes reference: & and § codes, hex values, MiniMessage tags and JSON names, plus a hex colour converter.
Colours
Click any value to copy it
| Colour | & code | § code | Hex | MiniMessage | JSON name |
|---|---|---|---|---|---|
| Black | |||||
| Dark Blue | |||||
| Dark Green | |||||
| Dark Aqua | |||||
| Dark Red | |||||
| Dark Purple | |||||
| Gold | |||||
| Gray | |||||
| Dark Gray | |||||
| Blue | |||||
| Green | |||||
| Aqua | |||||
| Red | |||||
| Light Purple | |||||
| Yellow | |||||
| White |
Formatting
Put formatting after the colour code
| Format | & code | § code | MiniMessage | JSON |
|---|---|---|---|---|
| AaBold | ||||
| AaItalic | ||||
| AaUnderline | ||||
| AaStrikethrough | ||||
| &RObfuscated | ||||
| AaReset | n/a |
Hex converter
Pick a colour to get it in every syntax
- & hex&#EC5A2EEssentialsX, CMI, most plugins
- §x§x§e§c§5§a§2§eWhat the game uses internally
- &x&x&e&c&5&a&2&eBungeeCord and older plugins
- MiniMessage<#ec5a2e>Paper, Velocity, Adventure
- JSON"color":"#ec5a2e"tellraw, title, books
- RGB236, 90, 46
- Decimal15489582Leather armour and potion colours in NBT
- Nearest legacy&cRed (#FF5555), for pre-1.16 clients
How colour codes work
The game uses the section sign § followed by a character. Players can't type § in chat, so plugins use & instead and translate it. Files the game reads directly, like server.properties, need the real §.
In Java Edition, a colour code resets any formatting before it. Write the colour first, then the format: &a&l gives bold green, but &l&a gives plain green.
Hex colours need Java Edition 1.16 or newer. Each plugin picks its own hex syntax, so check its docs if one form doesn't work. Bedrock Edition shares the 16 § colours, adds a few of its own and doesn't support underline or strikethrough.
ZCraft Studios
Want your menus and messages done already?
Our plugin configs come with chat, menus and scoreboards already styled, so you don't have to do every line yourself.