Minecraft Color Codes

Every color and formatting code, with a live formatter. Click a code to insert it.

Color codes

CodeColorJSON nameHexPreview
§0 / &0Blackblack#000000
§1 / &1Dark Bluedark_blue#0000AA
§2 / &2Dark Greendark_green#00AA00
§3 / &3Dark Aquadark_aqua#00AAAA
§4 / &4Dark Reddark_red#AA0000
§5 / &5Dark Purpledark_purple#AA00AA
§6 / &6Goldgold#FFAA00
§7 / &7Graygray#AAAAAA
§8 / &8Dark Graydark_gray#555555
§9 / &9Blueblue#5555FF
§a / &aGreengreen#55FF55
§b / &bAquaaqua#55FFFF
§c / &cRedred#FF5555
§d / &dLight Purplelight_purple#FF55FF
§e / &eYellowyellow#FFFF55
§f / &fWhitewhite#FFFFFF

Formatting codes

CodeEffectJSON
§k / &kObfuscatedobfuscated
§l / &lBoldbold
§m / &mStrikethroughstrikethrough
§n / &nUnderlineunderlined
§o / &oItalicitalic
§r / &rResetreset

Frequently asked questions

How do I use color codes in Minecraft?

Put the section sign § followed by a code before your text, for example §cHello for red text. On most servers and in plugins like EssentialsX you type & instead of §, for example &cHello.

How do I type the § symbol?

On Windows hold Alt and type 0167 on the number pad. On Mac press Option + 6. You can also copy it from the formatter on this page.

Can I use color codes in normal chat?

Not in vanilla Java Edition chat. They work in server MOTDs, signs and books in Bedrock Edition, and on servers with chat-format plugins. For commands like /tellraw, use the JSON color names in the table.

How do I combine a color with bold?

Put the color code first and the format code after it, for example §6§l for bold gold. A color code after a format code resets the formatting.