Minecraft color codes
Every color and format code for Java and Bedrock, with a preview. Click a code to copy it.
Click a code to copy it.
Colors
| Preview | Color | Code | Hex | JSON / MiniMessage |
|---|---|---|---|---|
| Minecraft | Blackblack | black | ||
| Minecraft | Dark Bluedark_blue | dark_blue | ||
| Minecraft | Dark Greendark_green | dark_green | ||
| Minecraft | Dark Aquadark_aqua | dark_aqua | ||
| Minecraft | Dark Reddark_red | dark_red | ||
| Minecraft | Dark Purpledark_purple | dark_purple | ||
| Minecraft | Goldgold | gold | ||
| Minecraft | Graygray | gray | ||
| Minecraft | Dark Graydark_gray | dark_gray | ||
| Minecraft | Blueblue | blue | ||
| Minecraft | Greengreen | green | ||
| Minecraft | Aquaaqua | aqua | ||
| Minecraft | Redred | red | ||
| Minecraft | Light Purplelight_purple | light_purple | ||
| Minecraft | Yellowyellow | yellow | ||
| Minecraft | Whitewhite | white |
Formats
| Preview | Format | Code | MiniMessage |
|---|---|---|---|
| Minecraft | Bold<bold> | <bold> | |
| Minecraft | Italic<italic> | <italic> | |
| Minecraft | Underline<underlined> | <underlined> | |
| Minecraft | Strikethrough<strikethrough> | <strikethrough> | |
| #%&@$8?# | Obfuscated<obfuscated> | <obfuscated> | |
| Minecraft | Reset<reset> | <reset> |
Hex colors (Java 1.16+)
Any color as #RRGGBB. The same orange, written three ways:
In plugins that read & codes
The raw § form
MiniMessage, for Velocity and Paper plugins
Where codes work
- Server MOTD
server.properties and proxy configs read § or & codes. The MOTD generator writes them for you.
- Plugin messages
Most plugins read & codes in their config files.
- Signs and books
Java has no key for §, so colored signs and books come from commands, plugins or data packs.
- Chat
Vanilla chat drops color codes. A chat plugin can allow & codes for some players.
About the tool
What the codes are
Minecraft colors and formats text with a code: the section sign § and one character. §6 is gold, §l is bold, §r resets everything. Plugins and many configs use & instead of §, because § is hard to type, and turn it into § for you.
Order matters
On Java a color code also ends bold, italic and the other formats. Put the format after the color: &6&l gives bold gold, &l&6 gives plain gold.
Java and Bedrock
Both editions share the 16 colors. Bedrock adds minecoin gold and the material colors, and uses §n and §m as colors, so it has no underline or strikethrough. Hex colors work only on Java 1.16 and newer, in software that supports them.
FAQ
How do I type the § sign?
You don't need to in most places. Plugins and proxy configs read & codes. In server.properties write \u00A7 instead of §, or build the MOTD in the MOTD generator and copy its server.properties line.
Why does my bold text stop after a color?
On Java a color code resets the formats. Write the color first and the format after it: &6&l, not &l&6.
What is the difference between & and §?
None in meaning: § is what the game reads, and & is the form plugins and configs accept and turn into §.
Do hex colors work on Bedrock?
No. Bedrock has its own extra colors instead. Hex colors need Java 1.16 or newer and software that supports them.
Can players use color codes in chat?
Not in vanilla: the game drops them. Chat plugins can allow & codes, often only for players with a permission.