Minecraft color codes

Every color and format code for Java and Bedrock, with a preview. Click a code to copy it.

Edition
Code shown first

Click a code to copy it.

Colors

PreviewColorCodeHexJSON / MiniMessage
MinecraftBlackblackblack
MinecraftDark Bluedark_bluedark_blue
MinecraftDark Greendark_greendark_green
MinecraftDark Aquadark_aquadark_aqua
MinecraftDark Reddark_reddark_red
MinecraftDark Purpledark_purpledark_purple
MinecraftGoldgoldgold
MinecraftGraygraygray
MinecraftDark Graydark_graydark_gray
MinecraftBlueblueblue
MinecraftGreengreengreen
MinecraftAquaaquaaqua
MinecraftRedredred
MinecraftLight Purplelight_purplelight_purple
MinecraftYellowyellowyellow
MinecraftWhitewhitewhite

Formats

PreviewFormatCodeMiniMessage
MinecraftBold<bold><bold>
MinecraftItalic<italic><italic>
MinecraftUnderline<underlined><underlined>
MinecraftStrikethrough<strikethrough><strikethrough>
#%&@$8?#Obfuscated<obfuscated><obfuscated>
MinecraftReset<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

Build one in the MOTD generator

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.

More tools

All tools