§ 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.

16Text colors
6Formatting codes
12Extra Bedrock colors
§The section sign
MORE TOOLS

More Minecraft finders

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

CodeNameHexMOTD code
§0Black#000000\u00A70
§1Dark Blue#0000AA\u00A71
§2Dark Green#00AA00\u00A72
§3Dark Aqua#00AAAA\u00A73
§4Dark Red#AA0000\u00A74
§5Dark Purple#AA00AA\u00A75
§6Gold#FFAA00\u00A76
§7Gray#AAAAAA\u00A77
§8Dark Gray#555555\u00A78
§9Blue#5555FF\u00A79
§aGreen#55FF55\u00A7a
§bAqua#55FFFF\u00A7b
§cRed#FF5555\u00A7c
§dLight Purple#FF55FF\u00A7d
§eYellow#FFFF55\u00A7e
§fWhite#FFFFFF\u00A7f

Formatting Codes

CodeEffect
§lBold
§oItalic
§nUnderline (Java only)
§mStrikethrough (Java only)
§kObfuscated, random changing letters
§rReset 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.

CodeNameHex
§gMinecoin Gold#DDD605
§hMaterial Quartz#E3D4D1
§iMaterial Iron#CECACA
§jMaterial Netherite#443A3B
§mMaterial Redstone#971607
§nMaterial Copper#B4684D
§pMaterial Gold#DEB12D
§qMaterial Emerald#47A036
§sMaterial Diamond#2CBAA8
§tMaterial Lapis#21497B
§uMaterial Amethyst#9A5CC6
§vMaterial 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

PlaceJavaBedrock
ChatPlugins or /tellrawYes, with §
SignsDye the sign; codes need commandsYes, with §
BooksWith commandsYes, with §
Anvil item namesNoYes, with §
Server MOTDYes, in server.propertiesYes, in server.properties
/tellraw, /titleYes, with JSON color names or hexYes, 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.

These tools pair well with this one:

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.

Similar Posts