Prepay & save up to 40% · 3 months −20% · 6 months −30% · 12 months −40% Client Area
Free Tools

Minecraft Color Codes

All 16 Minecraft color codes

CodeColorName (JSON)HexPreview
&0 / §0blackblack #000000Minecraft
&1 / §1dark bluedark_blue #0000AAMinecraft
&2 / §2dark greendark_green #00AA00Minecraft
&3 / §3dark aquadark_aqua #00AAAAMinecraft
&4 / §4dark reddark_red #AA0000Minecraft
&5 / §5dark purpledark_purple #AA00AAMinecraft
&6 / §6goldgold #FFAA00Minecraft
&7 / §7graygray #AAAAAAMinecraft
&8 / §8dark graydark_gray #555555Minecraft
&9 / §9blueblue #5555FFMinecraft
&a / §agreengreen #55FF55Minecraft
&b / §baquaaqua #55FFFFMinecraft
&c / §credred #FF5555Minecraft
&d / §dlight purplelight_purple #FF55FFMinecraft
&e / §eyellowyellow #FFFF55Minecraft
&f / §fwhitewhite #FFFFFFMinecraft

Formatting codes

CodeEffectPreview
&l / §lBoldMinecraft
&o / §oItalicMinecraft
&n / §nUnderlineMinecraft
&m / §mStrikethroughMinecraft
&k / §kObfuscatedMinecraft
&r / §rResetMinecraft

The obfuscated code (§k) scrambles characters continuously — use it sparingly, it renders as flickering symbols. §r resets color and formatting, and note that in Java Edition a color code also clears any formatting codes before it, so write the color first: &6&lGold bold, not &l&6.

Frequently asked questions

How do Minecraft color codes work?

A section sign (§) followed by 0-9 or a-f changes the text color from that point on; §l, §o, §n, §m and §k add formatting, and §r resets everything back to default. Many plugins and tools accept an ampersand (&) in place of §.

How do I type the § symbol?

You usually don't type it live — vanilla Java chat won't accept it from players. It's used in files and configs: paste the § character directly, or write &-codes where the software converts them (Bukkit, Spigot and Paper plugins commonly translate &a-style codes).

Do color codes work in Minecraft Bedrock?

Yes — Bedrock uses the same §-codes and adds a few extra colors of its own, such as §g (minecoin gold).

Where can I use color codes?
Server MOTDs, kick messages, world and item names, books, signs and plugin configs. For the MOTD specifically, our MOTD generator escapes the codes for server.properties automatically.
More free tools:
Minecraft Circle GeneratorDiscord Timestamp GeneratorMinecraft MOTD GeneratorNether Portal CalculatorPalworld Breeding CalculatorMinecraft Server StatusMinecraft RAM CalculatorMinecraft Stronghold FinderGradient Text GeneratorMinecraft XP CalculatorDiscord Embed GeneratorServer Name GeneratorMinecraft Distance CalculatorJava Arguments Generator All tools

Put the colors to work

Your own Minecraft server with a visual config editor, mods and backups - from $3.99/mo.

Minecraft hosting