Minecraft Color Codes

Every Minecraft color code and formatting code in one chart — with a live color code generator that builds the § string for you. Works for Java and Bedrock (British spelling: colour codes).

Color Code Generator

Type your text, then click a color or format button to insert its code at the cursor. Copy the result straight into a book, sign, or world name.

Preview

Result (with § codes)

All 16 Minecraft Color Codes

CodeColorHEXRGBSample
§0 Black #000000 0, 0, 0 Aa Bb 123
§1 Dark Blue #0000AA 0, 0, 170 Aa Bb 123
§2 Dark Green #00AA00 0, 170, 0 Aa Bb 123
§3 Dark Aqua #00AAAA 0, 170, 170 Aa Bb 123
§4 Dark Red #AA0000 170, 0, 0 Aa Bb 123
§5 Dark Purple #AA00AA 170, 0, 170 Aa Bb 123
§6 Gold #FFAA00 255, 170, 0 Aa Bb 123
§7 Gray #AAAAAA 170, 170, 170 Aa Bb 123
§8 Dark Gray #555555 85, 85, 85 Aa Bb 123
§9 Blue #5555FF 85, 85, 255 Aa Bb 123
§a Green #55FF55 85, 255, 85 Aa Bb 123
§b Aqua #55FFFF 85, 255, 255 Aa Bb 123
§c Red #FF5555 255, 85, 85 Aa Bb 123
§d Light Purple #FF55FF 255, 85, 255 Aa Bb 123
§e Yellow #FFFF55 255, 255, 85 Aa Bb 123
§f White #FFFFFF 255, 255, 255 Aa Bb 123

Formatting Codes

Formatting codes change the style of the text. Add §r (reset) to clear all colors and styles before starting a new section of text.

CodeEffectSample
§l Bold Bold text
§m Strikethrough Struck text
§n Underline Underlined text
§o Italic Italic text
§r Reset Back to normal

Bedrock Color Codes

Bedrock Edition uses the same § color codes as Java. On Bedrock you can paste § directly into signs, books and quills, chat, and world names to color them — no add-ons required. On Java Edition vanilla, § codes work in books and quills and in server-controlled text such as the MOTD; coloring chat or signs on Java usually needs a server plugin or mod.

How to type the § sign

  • Windows: hold Alt and type 0167 on the numeric keypad (Alt + 21 also works on many layouts).
  • Any device: copy the symbol right here — — and paste it in game.

Color Code FAQ

What are Minecraft color codes?

Minecraft color codes are built-in formatting codes made of the section sign (§) followed by a digit 0-9 or a letter a-f. Each code switches the text after it to one of the 16 standard Minecraft colors.

How do you type the section sign (§)?

On Windows, hold Alt and type 0167 on the numeric keypad (Alt + 21 also works on many layouts). The easiest way on any device is to copy the § symbol from this page and paste it into the game.

Do color codes work on Bedrock Edition?

Yes. Bedrock Edition uses the same § codes, and they can be pasted into signs, books, chat, and world names to color text. On Java Edition vanilla, § codes work in books and server messages; chat and signs usually require a server plugin or mod.

What is the difference between color codes and formatting codes?

Color codes §0-§9 and §a-§f change the text color. Formatting codes change the style instead: §l is bold, §m is strikethrough, §n is underline, §o is italic, and §r resets all colors and styles back to normal.

Related pages