Java Edition and server tools
Legacy § codes, ampersand plugin codes, MOTD escapes and JSON text can appear in different Java server workflows. Modern JSON text can also use custom RGB hex colors.
Free · Live preview · One-click copy
Use this free Minecraft color codes reference and generator to find all 16 classic colors and 6 formatting codes, build styled text with a live preview, and copy the result as § codes, & plugin codes, a server.properties MOTD escape, or JSON text components.
§6§lWELCOMEWELCOME§bDiamondDiamond§aSurvivalSurvival§cWarning!Warning!Main tool
Type Minecraft formatting codes directly or insert them with the palette. The preview and every output format update instantly, so you can test colors and styles before copying the final string.
Example: &6&lGold Bold &r&bAqua. Both & and § are understood by this preview.
Complete reference
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.
Edition notes
The 16 classic legacy colors are the core reference on this page, but the exact syntax and features you can use depend on the edition, version, server software, plugin and destination field.
Legacy § codes, ampersand plugin codes, MOTD escapes and JSON text can appear in different Java server workflows. Modern JSON text can also use custom RGB hex colors.
Bedrock can differ from Java in supported formatting contexts. This page also lists the extra §g Minecoin Gold value separately from the 16 classic Java colors.
Text styles
Formatting codes can add obfuscated text, bold, strikethrough, underline or italic styling. Reset clears the active color and styles.
Scrambled-looking characters where supported.
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
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
Enter the text you want to style in the generator. You can type & or § codes directly.
Click one of the 16 palette buttons. The selected code is inserted at your cursor position.
Choose bold, italic, underline, strikethrough or another formatting code where your destination supports it.
Confirm the color sequence and reset points before copying the final string.
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
The section sign is the classic Minecraft formatting prefix in contexts that support legacy codes.
Many Bukkit, Spigot and other server plugins accept & as a keyboard-friendly substitute and translate it internally.
Some Java server.properties workflows use the Unicode escape \u00A7 in place of a literal section sign.
Modern commands and components can express colors and styles as structured JSON, including RGB hex colors.
Keyboard help
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
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 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.
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.
The 16 classic legacy colors are the main shared reference, but supported syntax and formatting can vary by edition, version and destination. Bedrock also has an extra §g Minecoin Gold value listed separately on this page, while modern Java JSON text can use custom RGB hex colors.
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.
Modern Java JSON text components support RGB hex colors. Plugin-specific hex syntax varies, so use the format required by your server software.
The classic formatting characters are k for obfuscated, l for bold, m for strikethrough, n for underline, o for italic and r for reset.
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.
No. MinecraftFont.net is an independent fan-made website and is not affiliated with or endorsed by Mojang Studios or Microsoft.