§ CODES · & CODES · MOTD · TELLRAW
Minecraft Color Codes
Minecraft color codes are short codes like §6 or &6 that change the color and style of text in chat, signs, books, item names and the server MOTD. This page has the full list of codes with their hex values, plus a color code generator: type your text, click colors and styles, and copy it as & codes, § codes, a server.properties MOTD line, or a /tellraw command.
Runs in your browser. Nothing to download, and no seed needed.
More Minecraft finders
Village Finder
Find the closest villages to spawn for an easy first night.
Biome Finder
Find cherry groves, mushroom fields and the deep dark.
Slime Chunk Finder
Spot slime chunks below Y=40 for farms, Java and Bedrock.
Stronghold Finder
See every stronghold ring, so you need fewer Eyes of Ender.
Ancient City Finder
Locate deep dark cities and plan a quiet route in.
Nether & End
Fortresses, bastions, end cities and end gateways.
Seed Finder
Search for seeds with a village and a rare biome near spawn.
3D Seed Viewer
Rotate mountains and valleys around any spot on your seed.
About the Color Codes
Every code starts with the section sign (§), followed by a number or letter. Server plugins and Bedrock players often type & instead, because § is hard to type on most keyboards. The 16 colors and 6 formatting codes work the same on Java and Bedrock, and Bedrock adds a few extra colors of its own.
What you get on this page:
- Live preview: see your text in Minecraft colors as you type
- One-click colors and styles: insert codes at the cursor
- Four outputs: & codes, § codes, MOTD and /tellraw JSON
- Full code list: colors, hex values, formatting codes and Bedrock-only colors
How to Use the Color Code Generator
Step 1: Type Your Text
Type in the box. You can use & codes directly, like &6Gold &bAqua.
Step 2: Click Colors and Styles
Put the cursor where the color should start and click a color square or a style button. The code is inserted for you.
Step 3: Check the Preview
The preview shows how the text looks in game, on a dark background like the chat box.
Step 4: Copy the Format You Need
Copy & codes for plugins, § codes for Java text and Bedrock, the MOTD line for server.properties, or the /tellraw command for command blocks.
Minecraft Color Codes List
| Code | Name | Hex | MOTD code |
|---|---|---|---|
| §0 | Black | #000000 | \u00A70 |
| §1 | Dark Blue | #0000AA | \u00A71 |
| §2 | Dark Green | #00AA00 | \u00A72 |
| §3 | Dark Aqua | #00AAAA | \u00A73 |
| §4 | Dark Red | #AA0000 | \u00A74 |
| §5 | Dark Purple | #AA00AA | \u00A75 |
| §6 | Gold | #FFAA00 | \u00A76 |
| §7 | Gray | #AAAAAA | \u00A77 |
| §8 | Dark Gray | #555555 | \u00A78 |
| §9 | Blue | #5555FF | \u00A79 |
| §a | Green | #55FF55 | \u00A7a |
| §b | Aqua | #55FFFF | \u00A7b |
| §c | Red | #FF5555 | \u00A7c |
| §d | Light Purple | #FF55FF | \u00A7d |
| §e | Yellow | #FFFF55 | \u00A7e |
| §f | White | #FFFFFF | \u00A7f |
Formatting Codes
| Code | Effect |
|---|---|
| §l | Bold |
| §o | Italic |
| §n | Underline (Java only) |
| §m | Strikethrough (Java only) |
| §k | Obfuscated, random changing letters |
| §r | Reset to normal text |
A color code resets the formatting after it, so put the color first and the style second: §6§l makes bold gold text, but §l§6 is plain gold.
Bedrock Color Codes
Bedrock Edition has extra material colors. On Bedrock, §m and §n are colors instead of strikethrough and underline.
| Code | Name | Hex |
|---|---|---|
| §g | Minecoin Gold | #DDD605 |
| §h | Material Quartz | #E3D4D1 |
| §i | Material Iron | #CECACA |
| §j | Material Netherite | #443A3B |
| §m | Material Redstone | #971607 |
| §n | Material Copper | #B4684D |
| §p | Material Gold | #DEB12D |
| §q | Material Emerald | #47A036 |
| §s | Material Diamond | #2CBAA8 |
| §t | Material Lapis | #21497B |
| §u | Material Amethyst | #9A5CC6 |
| §v | Material Resin | #EB7114 |
How to Type the § Symbol
- Windows: hold Alt and type 0167 on the number pad
- Mac: press Option + 6
- Phones: long-press the & or $ key on many keyboards, or copy it from this page
Java Edition doesn’t let you type § in normal chat, signs or anvils. Use commands, a plugin, or a book editor instead.
Where Color Codes Work
| Place | Java | Bedrock |
|---|---|---|
| Chat | Plugins or /tellraw | Yes, with § |
| Signs | Dye the sign; codes need commands | Yes, with § |
| Books | With commands | Yes, with § |
| Anvil item names | No | Yes, with § |
| Server MOTD | Yes, in server.properties | Yes, in server.properties |
| /tellraw, /title | Yes, with JSON color names or hex | Yes, with § in the text |
Color Codes in server.properties (MOTD)
The MOTD is the text under your server in the multiplayer list. In server.properties, write the § sign as \u00A7, like motd=\u00A76\u00A7lMy Server \u00A7f1.21. The generator builds this line for you. Plugins like EssentialsX and Paper also accept & codes in their own config files.
Hex Colors
Since Java 1.16, /tellraw, /title and item names accept any hex color in JSON, like “color”:”#FF8800″. Hex colors don’t work in § codes in vanilla, but many server plugins add their own hex format.
Related Minecraft Tools
These tools pair well with this one:
- Minecraft Seed Map: the full map with every biome and structure
- Give Command Generator: Custom items for every version
- Enchantment Calculator: Cheapest anvil order for your books
- XP Calculator: Levels, XP points and bottles
- Circle Generator: Block circles and ovals in any size
- Sphere Generator: Spheres and domes layer by layer
Frequently Asked Questions
What is the gold color code in Minecraft?
§6, or &6 on most servers. Its hex value is #FFAA00.
How do I make bold colored text?
Put the color first, then §l. For example §c§lHello is bold red.
Do color codes work on Bedrock?
Yes. Bedrock supports § codes in chat, signs, books and anvil names, and adds extra material colors.
Why does my color reset to white?
A new color code clears bold and other styles, and §r resets everything. Repeat the style after each color.
What is the difference between & and §?
§ is the real code Minecraft reads. & is a shortcut that server plugins turn into §, because it’s easier to type.
Final Thoughts
Minecraft color codes make your server, signs and items stand out. Use the generator to type your text, click the colors and styles, and copy the version you need, whether that’s & codes for a plugin, a MOTD line for server.properties, or a /tellraw command for a command block.
