Minecraft Color Codes

All 16 colour codes (§0–§f), the formatting codes (§k–§r) and Bedrock's extra material colours, with hex values. Type text with & codes in the editor to see a live preview and copy it for signs, books, a server MOTD or a /tellraw command.

Updated 2026-09-27

Use & followed by a code (e.g. &6 for gold, &l for bold). The buttons add codes for you.

MC Seed Maps - Find every village
With § signs (books, signs, plugins)
§6§lMC Seed Maps §r§7- §aFind every village
server.properties MOTD
\u00A76\u00A7lMC Seed Maps \u00A7r\u00A77- \u00A7aFind every village
/tellraw command
/tellraw @a ["",{"text":"MC Seed Maps ","color":"gold","bold":true},{"text":"- ","color":"gray"},{"text":"Find every village","color":"green"}]
Text component (JSON)
["",{"text":"MC Seed Maps ","color":"gold","bold":true},{"text":"- ","color":"gray"},{"text":"Find every village","color":"green"}]
Java colour codes§0 – §f
CodeNameIDHex
§0 · &0 Blackblack#000000
§1 · &1 Dark Bluedark_blue#0000AA
§2 · &2 Dark Greendark_green#00AA00
§3 · &3 Dark Aquadark_aqua#00AAAA
§4 · &4 Dark Reddark_red#AA0000
§5 · &5 Dark Purpledark_purple#AA00AA
§6 · &6 Goldgold#FFAA00
§7 · &7 Graygray#AAAAAA
§8 · &8 Dark Graydark_gray#555555
§9 · &9 Blueblue#5555FF
§a · &a Greengreen#55FF55
§b · &b Aquaaqua#55FFFF
§c · &c Redred#FF5555
§d · &d Light Purplelight_purple#FF55FF
§e · &e Yellowyellow#FFFF55
§f · &f Whitewhite#FFFFFF
Formatting codes§k – §r
CodeEffect
§k · &kObfuscated
§l · &lBold
§m · &mStrikethrough
§n · &nUnderline
§o · &oItalic
§r · &rReset
Bedrock extra coloursBedrock only
CodeIDHex
§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 use colour codes

Where What to type
Books, signs (Java, with plugins) and many server plugins § or & + code, e.g. &6Gold
server.properties motd \u00A7 + code, e.g. \u00A76Welcome
Commands (/tellraw, /title) A text component, e.g. {"text":"Hi","color":"gold"}
Bedrock chat, signs and books § + code (hold Alt and type 0167 for § on Windows)

A colour code resets bold, italic and the other formats in Java, so put formatting codes after the colour.

Java vs Bedrock

The 16 colours work in both editions. Bedrock adds material colours (§g, §h … §v), and on Bedrock §m and §n are colours, not strikethrough and underline. Underline and strikethrough only work in Java.

Frequently asked questions

What is the § symbol?

The section sign. Minecraft uses it to start a colour or format code. Many plugins let you type & instead.

Are the /tellraw commands tested?

Yes. We checked the text components this tool writes on the official Java 26.3 server.

How do I make obfuscated (scrambling) text?

Use §k (or &k). The text shows as random changing characters.

Related tools

Seed Map
Sources: minecraft.wiki/w/Formatting_codes