Skip to main content

Last day of Black Week: 10% extra from 3 months paid upfront, until 23:59.

All deals

Minecraft Color Codes

The table lists every code in all common notations. Click a value to copy it. For whole texts with a preview, use the MOTD generator.

Colours

Preview Name § code & code MiniMessage JSON Hex
Minecraft Black
Minecraft Dark blue
Minecraft Dark green
Minecraft Dark aqua
Minecraft Dark red
Minecraft Dark purple
Minecraft Gold
Minecraft Gray
Minecraft Dark gray
Minecraft Blue
Minecraft Green
Minecraft Aqua
Minecraft Red
Minecraft Light purple
Minecraft Yellow
Minecraft White

Formatting

Preview Name § code & code MiniMessage JSON
Minecraft Obfuscated
Minecraft Bold
Minecraft Strikethrough
Minecraft Underline
Minecraft Italic
Minecraft Reset –

Convert your own hex colour

Spigot/Paper (&#)
Vanilla chat (§x)
MiniMessage
JSON text

Hex colours exist since 1.16 and only in Java Edition. In the server MOTD, old clients show the nearest standard colour.

Which notation goes where?

  • § (section sign): server.properties (written as \u00A7 there), signs, books and data packs.
  • & (ampersand): plugins such as EssentialsX, LuckPerms prefixes and most config files on Spigot and Paper.
  • MiniMessage: Paper and Velocity, for example in messages of plugins that use Adventure.
  • JSON: /tellraw, /title and text components in commands.

Extra colours in Bedrock Edition

Bedrock has more colour codes. Careful: there §m and §n are colours; strikethrough and underline do not exist.

PreviewName§ codeHex
Minecraft Minecoin gold
Minecraft Quartz
Minecraft Iron
Minecraft Netherite
Minecraft Redstone
Minecraft Copper
Minecraft Gold
Minecraft Emerald
Minecraft Diamond
Minecraft Lapis lazuli
Minecraft Amethyst

Frequently asked questions

How do I type the § sign?

On Windows with Alt + 0167 on the number pad, on a Mac with US layout with Option + 6, on German keyboards with Shift + 3. In server.properties write \u00A7, otherwise the character is saved incorrectly.

Why does &a not work in chat?

Vanilla Minecraft only knows the § sign. The & sign is translated by plugins such as EssentialsX; players usually need a permission like essentials.chat.color for it.

Why does formatting disappear after a colour code?

A colour code resets bold, italic and the rest. So write the colour first and the formatting after it: §a§l, not §l§a.

Continue on your server

Open your server dashboard if needed. Confirm changes to settings and worlds there yourself.