Scrambled-looking characters where supported.
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.
§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.
Example: &6&lGold Bold &r&bAqua. Both & and § are understood by this preview.
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 |
|---|
§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.
Makes supported text heavier.
Draws a line through supported text.
Underlines supported text.
Slants supported text.
Returns following text to the default style.
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.
MiniMessage is used by some modern Paper/Adventure plugin setups; it is not vanilla Minecraft syntax.
Guide
How to Use Minecraft Color Codes
- 1
Type your message.
Enter the text you want to style in the generator. You can type
&or§codes directly. - 2
Insert a color.
Click one of the 16 palette buttons. The selected code is inserted at your cursor position.
- 3
Add formatting.
Choose bold, italic, underline, strikethrough or another formatting code where your destination supports it.
- 4
Check the live preview.
Confirm the color sequence and reset points before copying the final string.
- 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
Section-sign codes
The section sign is the classic Minecraft formatting prefix in contexts that support legacy codes.
Ampersand codes
Many Bukkit, Spigot and other server plugins accept & as a keyboard-friendly substitute and translate it internally.
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.
Use the numeric keypad where supported.
Common shortcut on Mac keyboard layouts.
Then press Enter or Space on many Linux desktops.
Troubleshooting
Why Are My Minecraft Color Codes Not Working?
Your plugin may expect & while another field expects §, an escaped value or JSON.
Not every chat box, sign, book, command, server panel or plugin accepts legacy formatting codes.
A new legacy color code can clear earlier formatting, so apply the color before bold, italic and similar styles.
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.