NickGen

Minecraft Color Wizard

Minecraft color codes are § codes, a section sign plus 0–9 or a–f, that colour text in chat, signs, books and MOTDs. Type text into the Minecraft Color Wizard and get the coded line with a live preview. Minecraft color codes work in one tap: copy, then paste into a Bedrock sign or server.properties.

Classic - Java (§)
Enter text to generate code...
Classic - Bedrock (&)
Enter text to generate code...
RGB Hex (&#rrggbb)
Enter text to generate code...
  • • Click on characters to edit colors
  • • Use gradient for beautiful effects
  • • RGB mode for millions of colors
  • • Try RGB presets for inspiration
  • • Magic text will flicker
  • • RGB works on 1.16+ servers

By the NickGen founder Hoàng Dương Dũng · Updated October 1, 2026 · Every code below was checked against the Minecraft Wiki formatting-code table on October 1, 2026 (Java Edition 1.21 and Bedrock Edition 1.21). Minecraft is a trademark of Mojang Studios and Microsoft; NickGen is an independent site.

On this page

Minecraft color code chart (§0–§f)

Minecraft has 16 text colours, each written as § plus one character from 0–9 or a–f; §c is red and §6 is gold. Tap a code to copy it. The & column is the same colour for servers whose chat plugins swap & for §.

ColourCodeServer codeName in JSONHex (Java)Good for
Blackblack#000000Outlines, dark signs
Dark Bluedark_blue#0000AACalm staff tags
Dark Greendark_green#00AA00Survival, nature builds
Dark Aquadark_aqua#00AAAAOcean and ice themes
Dark Reddark_red#AA0000Warnings, PvP arenas
Dark Purpledark_purple#AA00AAMagic, the End
Goldgold#FFAA00VIP ranks, rewards
Graygray#AAAAAAQuiet info text
Dark Graydark_gray#555555Brackets and dividers
Blueblue#5555FFLinks, team blue
Greengreen#55FF55“Online”, success
Aquaaqua#55FFFFDiamonds, highlights
Redred#FF5555Errors, team red
Light Purplelight_purple#FF55FFCute names, events
Yellowyellow#FFFF55Announcements
Whitewhite#FFFFFFPlain body text
Minecraft color codes chart: 16 colours and 6 format codes from §0 to §r

Formatting codes §k–§r

Formatting codes change the style, not the colour: §l makes text bold, §o makes it italic and §r resets everything. Put the colour code first and the format code after it, as in §6§l, because a colour code clears any format that came before it.

CodeServer codeEffectWhat it doesWorks in
obfuscatedScrambles letters into moving random glyphsJava + Bedrock
boldThick lettersJava + Bedrock
strikethroughLine through the textJava only (on Bedrock §m is a colour)
underlinedLine under the textJava only (on Bedrock §n is a colour)
italicSlanted lettersJava + Bedrock
resetClears every colour and format before itJava + Bedrock

Bedrock-only colour codes

Minecraft Bedrock Edition adds 12 extra colour codes on top of the 16 shared ones: §g minecoin gold plus 11 “material” colours such as §q emerald and §s diamond. Material colours arrived in Bedrock 1.19.80 previews, and §v material resin came with Bedrock 1.21.50. Java Edition ignores these codes.

ColourCodeNameHex (Bedrock)
minecoin_gold#EFCE16
material_quartz#D9CCB8
material_iron#A9B4B7
material_netherite#8F727D
material_redstone#EE222C
material_copper#C87363
material_gold#FFBF1E
material_emerald#13A045
material_diamond#5FECFF
material_lapis#577BFF
material_amethyst#B66CDD
material_resin#FF6A00

Display check: hex values are the foreground colours listed by the Minecraft Wiki on October 1, 2026. §g does not display on PlayStation, according to the same table. On Bedrock, §m and §n are colours, so strikethrough and underline are not available there.

Ready-made coloured names and MOTD lines

These coloured name tags and prefixes are built from the codes above and can be pasted straight into a Bedrock sign, book, anvil or chat, or used in a Java server file. Each line notes the effect it aims for.

VIP feel: bold gold word, softer yellow tail
PvP tag that reads hot
Cold, clean ice look
Cute-to-magic fade
Survival classic in two greens
Staff prefix with dark brackets
Rank prefix in gold
Moderator prefix, low key
Team chat tag
Team chat tag
Event shout-out with stars
Join message lead-in
Obfuscated frame, use sparingly
Dark, readable on light signs
Winter server look
Soft italic signature

MOTD lines for server.properties

A Java server MOTD is set with the motd= line in server.properties. Write the section sign as \u00A7 in that file so the code survives the file encoding.

Two-word hook then detail
Gold title, yellow perk
Calm creative pitch
Red warning tone
Minecraft color codes preview on a phone: §4 dark red, §6 gold, §a green, §b aqua, §9 blue, §d light purple

Where color codes work in Java and Bedrock

In Minecraft Bedrock Edition, § codes work in almost any text box: signs, hanging signs, books and quills, anvil names, name tags and chat. Player names and Realm names reject them.

In Minecraft Java Edition, typing § in normal chat is blocked and disconnects you, even in single player. Java uses § codes in server.properties (the MOTD), server names, world titles, resource-pack language files and splash text. For commands such as /tellraw and /title, Java uses JSON text instead, with a colour name like "color":"gold" or a hex value like "color":"#FF6A00", which Java Edition has accepted since version 1.16.

On multiplayer servers that run chat plugins, players type & instead of §, for example &6Gold, and the server converts it. That is why the charts above carry both columns.

How to type the § symbol

The § symbol is the section sign, and the quickest way to get it is to tap any code in the charts above. On a keyboard:

  • Windows: hold Alt and type 21 or 0167 on the number pad.
  • Mac: Option + 6 on a US keyboard.
  • Linux: Ctrl + Shift + U, then a7, then Enter.
  • Phone: long-press the & key on some keyboards, or copy it from this page:

FAQ

What is the code for gold in Minecraft?

The gold colour code in Minecraft is §6 (or &6 on servers with chat plugins), shown as #FFAA00 in Java Edition. Bedrock also has §g minecoin gold and §p material gold.

Why do color codes not work in Java chat?

Minecraft Java Edition blocks the § character in normal chat and disconnects the player who sends it. Use a server that supports & codes, or use JSON text in /tellraw and /title.

What does & mean in Minecraft color codes?

The & sign is a stand-in that server chat plugins convert into §, so &c and §c both give red text on those servers. Vanilla Minecraft does not convert & by itself.

Can you use hex colours in Minecraft?

Yes, in Java Edition JSON text since version 1.16, with “color”:”#RRGGBB” in /tellraw, /title or data packs. The § codes themselves only cover the fixed colours in the charts above.

Building names for a shooter instead of a sandbox? The Delta Force name ideas page applies the same copy-and-paste idea to a game with a strict name filter. For stylised names in any game, type a word into NickGen.