Skip to content

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§ codeHexMiniMessageJSON 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§ codeMiniMessageJSON
AaBold
AaItalic
AaUnderline
AaStrikethrough
&RObfuscated
AaResetn/a

Hex converter

Pick a colour to get it in every syntax

Your text in this colourNearest legacy: Red
  • & hex
    &#EC5A2E
    EssentialsX, CMI, most plugins
  • §x
    §x§e§c§5§a§2§e
    What the game uses internally
  • &x
    &x&e&c&5&a&2&e
    BungeeCord and older plugins
  • MiniMessage
    <#ec5a2e>
    Paper, Velocity, Adventure
  • JSON
    "color":"#ec5a2e"
    tellraw, title, books
  • RGB
    236, 90, 46
  • Decimal
    15489582
    Leather armour and potion colours in NBT
  • Nearest legacy
    &c
    Red (#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.