Free · Live preview · One-click copy

Minecraft Color Codes

Find all 16 classic Minecraft colors and 6 formatting codes, or build styled text with the live generator. Copy the result as § codes, & plugin codes, a server.properties MOTD escape, or JSON text components.

16 classic colors 6 formatting codes § & & output Hex values No sign-up
§6§lWELCOMEWELCOME
§bDiamondDiamond
§aSurvivalSurvival
§cWarning!Warning!

Main tool

Minecraft Color Code Generator

Type formatting codes directly or insert them with the palette. The preview and every output format update instantly.

Need a full MOTD? →
0 / 220

Example: &6&lGold Bold &r&bAqua. Both & and § are understood by this preview.

Insert color
Formatting
Section sign
Plugin format
MOTD escape
JSON components

Complete reference

All Minecraft Color Codes

The 16 classic colors use characters 0–9 and a–f. Click a row or copy button to grab the code.

Color § Code & Code Hex Preview Copy
Bedrock extra: §g is commonly documented as Minecoin Gold with hex #DDD605. It is not one of the 16 classic Java color codes.

Text styles

Minecraft Formatting Codes

Formatting codes can add obfuscated text, bold, strikethrough, underline or italic styling. Reset clears the active color and styles.

§k
Obfuscated

Scrambled-looking characters where supported.

§l
Bold

Makes supported text heavier.

§m
Strikethrough

Draws a line through supported text.

§n
Underline

Underlines supported text.

§o
Italic

Slants supported text.

§r
Reset

Returns following text to the default style.

Order matters: with classic legacy formatting, applying a new color resets active formatting. Put the color code first and then apply bold, italic or another format after it.

Modern Java text

Custom Hex Color Builder

For modern Java JSON text components, you can use an RGB hex color instead of being limited to the 16 classic colors.

Diamond Realm
JSON text component
MiniMessage-style output

MiniMessage is used by some modern Paper/Adventure plugin setups; it is not vanilla Minecraft syntax.

Guide

How to Use Minecraft Color Codes

  1. 1
    Type your message.

    Enter the text you want to style in the generator. You can type & or § codes directly.

  2. 2
    Insert a color.

    Click one of the 16 palette buttons. The selected code is inserted at your cursor position.

  3. 3
    Add formatting.

    Choose bold, italic, underline, strikethrough or another formatting code where your destination supports it.

  4. 4
    Check the live preview.

    Confirm the color sequence and reset points before copying the final string.

  5. 5
    Copy the correct output.

    Use § for supported Minecraft contexts, & for plugins that translate ampersand codes, MOTD escape for applicable server.properties use, or JSON for modern text components.

Choose the right syntax

§ vs & vs MOTD vs JSON

§a

Section-sign codes

The section sign is the classic Minecraft formatting prefix in contexts that support legacy codes.

&a

Ampersand codes

Many Bukkit, Spigot and other server plugins accept & as a keyboard-friendly substitute and translate it internally.

\u00A7

MOTD escape

Some Java server.properties workflows use the Unicode escape \u00A7 in place of a literal section sign.

{ }

JSON text

Modern commands and components can express colors and styles as structured JSON, including RGB hex colors.

Keyboard help

How to Type the § Symbol

If your destination requires a literal section sign, these common keyboard methods can help.

WindowsAlt + 0167

Use the numeric keypad where supported.

macOSOption + 6

Common shortcut on Mac keyboard layouts.

LinuxCtrl + Shift + U, 00A7

Then press Enter or Space on many Linux desktops.

Easy option§

Troubleshooting

Why Are My Minecraft Color Codes Not Working?

Wrong prefix

Your plugin may expect & while another field expects §, an escaped value or JSON.

Unsupported destination

Not every chat box, sign, book, command, server panel or plugin accepts legacy formatting codes.

Formatting order

A new legacy color code can clear earlier formatting, so apply the color before bold, italic and similar styles.

Plugin-specific hex syntax

Custom RGB formats vary between plugins. Use the syntax documented by the exact server software you run.

FAQ

Minecraft Color Codes FAQ

What are Minecraft color codes?

Minecraft color codes are legacy formatting codes used to select colors and styles in supported text contexts. The classic colors use 0–9 and a–f after a formatting prefix.

How many Minecraft color codes are there?

There are 16 classic colors: black, dark blue, dark green, dark aqua, dark red, dark purple, gold, gray, dark gray, blue, green, aqua, red, light purple, yellow and white.

What is the difference between § and & codes?

The section sign is Minecraft's classic formatting prefix in supported contexts. Ampersand codes are commonly used by server plugins that convert & codes into Minecraft formatting.

Can I use custom hex colors?

Modern Java JSON text components support RGB hex colors. Plugin-specific hex syntax varies, so use the format required by your server software.

What are the Minecraft formatting codes?

The classic formatting characters are k for obfuscated, l for bold, m for strikethrough, n for underline, o for italic and r for reset.

Why do my color codes work in one server but not another?

Support depends on edition, version, server software, plugins, permissions and the exact field where the text is used. Check your plugin or server documentation if a generated string is not accepted.

Is MinecraftFont.net affiliated with Mojang or Microsoft?

No. MinecraftFont.net is an independent fan-made website and is not affiliated with or endorsed by Mojang Studios or Microsoft.