By using this site, you agree to the Privacy Policy and Terms of Use.
Accept

Meshpie

DailyTech

  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
Search
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.
Reading: Color Codes of Minecraft
Share
Font ResizerAa
MeshpieMeshpie
Font ResizerAa
  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
Search
  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
Follow US
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.

Home > Gaming > Color Codes of Minecraft

GamingMinecraft

Color Codes of Minecraft

Aksara
Last updated: June 24, 2026 8:07 am
Aksara
Share
SHARE

Minecraft color codes (also called formatting codes) let you add colored and styled text to names, chat messages, server MOTDs, and world titles. These codes work across Java Edition and Bedrock Edition, on servers running Bukkit plugins like Essentials, and in single-player worlds.

Text in Minecraft can be formatted with the section sign (§). In Bedrock Edition, you can enter the section sign directly into signs, world names, books, item renaming, and chat. In Java Edition, section signs work in server.properties, pack.mcmeta, world titles, books, and server names. External tools like NBTExplorer can insert them in other locations.

Minecraft color codes formatting guide
All types of Minecraft formatting

How Formatting Codes Work

Formatting codes use a section sign (§) followed by a hex digit. On servers with Essentials, the ampersand (&) can replace the section sign. The & format is an Essentials plugin permission that many servers enable by default.

Contents
  • How Formatting Codes Work
  • Complete Color Code Reference
  • Formatting Code Reference
  • Using Color Codes in server.properties and pack.mcmeta
  • Using Color Codes in World Names
  • Sample Text Examples
  • More Minecraft Guides

In Java Edition, the color code must be used before the formatting code. The formatting code value resets after a color code. For example, &cA&li appears as Ai, but &lA&ci appears as Ai. Always place the color code first and reapply the formatting code when switching colors.

In Bedrock Edition, formatting codes persist after a color code. If an obfuscated code is used without a reset before the end of the line, the client GUI continues obfuscating text past the MOTD and into the version number display.

Complete Color Code Reference

Minecraft supports 16 standard colors plus minecoin gold (Bedrock only). Each code uses a single character from 0-9 and a-f. The table below lists every color code with its RGB values and hex equivalent.

- Advertisement -
CodeNameRGBColorHexBE/JE
&0black000HI#000000
&1dark_blue00170HI#0000AA
&2dark_green01700HI#00AA00
&3dark_aqua0170170HI#00AAAA
&4dark_red17000HI#AA0000
&5dark_purple1700170HI#AA00AA
&6gold2551700HI#FFAA00
&7gray170170170HI#AAAAAA
&8dark_gray858585HI#555555
&9blue8585255HI#5555FF
&agreen8525585HI#55FF55
&baqua85255255HI#55FFFF
&cred2558585HI#FF5555
&dlight_purple25585255HI#FF55FF
&eyellow25525585HI#FFFF55
&fwhite255255255HI#FFFFFF
&gminecoin_gold2212145HI#DDD605[BE only]
Complete Minecraft color code reference table

Formatting Code Reference

Minecraft includes six formatting codes for text effects: obfuscated, bold, strikethrough, underline, italic, and reset. Not all codes work on both editions.

CodeNameBedrockJava
&kobfuscatedYesYes
&lboldYesYes
&mstrikethroughNoYes
&nunderlineNoYes
&oitalicYesYes
&rresetYesYes
Minecraft text formatting code table

Words using the obfuscated code (&k) keep the same character width as the original text. The reset code (&r) clears all active formatting but retains the color. For example, &c&oHel&rlo displays as Hello.

Using Color Codes in server.properties and pack.mcmeta

For MOTD colors in server.properties, use \u00A7 instead of §. For example, §5 becomes \u00A75. Colors and formatting work together – always place formatting codes after the color code.

In pack.mcmeta files, the description field accepts raw JSON text. You can replace § codes with JSON text components that use different colors and styles, though the old section sign method still works.

If your MOTD displays question marks, the server may have replaced § with § (\u00C2\u00A7). Delete the extra \u00C2 character to fix the display.

- Advertisement -
CodeOfficial NameMOTD codeNote
§0Black\u00A70
§1Dark Blue\u00A71
§2Dark Green\u00A72
§3Dark Aqua\u00A73
§4Dark Red\u00A74
§5Dark Purple\u00A75
§6Gold\u00A76
§7Gray\u00A77
§8Dark Gray\u00A78
§9Blue\u00A79
§aGreen\u00A7a
§bAqua\u00A7b
§cRed\u00A7c
§dLight Purple\u00A7d
§eYellow\u00A7e
§fWhite\u00A7f
§kObfuscated\u00A7k
§lBold\u00A7l
§mStrikethrough\u00A7mJava Only
§nUnderline\u00A7nJava Only
§oItalic\u00A7o
§rReset\u00A7r

Using Color Codes in World Names

With external tools like NBTExplorer, you can add color codes to world names. Open the LevelName tag in the world’s level.dat file and paste your formatted text. For example, setting LevelName to §1R§2e§3d§4s§5t§6o§7n§8e §9C§ar§be§ca§dt§ei§fo§1n§2s creates a rainbow world name.

In Bedrock Edition, you can use the § symbol directly in the world name when creating a new world. No external tools are needed – just type the section sign and your color code into the name field.

Sample Text Examples

Minecraft formatting sample preview
§nMinecraft Formatting§r

§00 §11 §22 §33
§44 §55 §66 §77
§88 §99 §aa §bb
§cc §dd §ee §ff

§rk §kMinecraft
§rl §lMinecraft
§rm §mMinecraft
§rn §nMinecraft
§ro §oMinecraft
§rr §rMinecraft

More Minecraft Guides

Color codes are just one way to customize your Minecraft experience. Check out our guide to the 10 best potions of Minecraft for useful brewing recipes. If you are building a base, the 5 best Minecraft enchantments for armor will keep you protected.

- Advertisement -

For combat-focused players, our guide to the best Minecraft enchantments for swords covers every weapon upgrade. And if you are starting fresh, the best helmet enchantments in Minecraft help you survive those first nights.

How to Make a Minecraft Server in 2026, Step by Step Guide
Streamlabs vs OBS: Which One Should You Choose in 2026?
Corsair K60 RGB Pro Gaming Keyboard Review – Is It Still Worth It in 2026?
Watch Dogs 2 Free on PC – How to Claim and Buy Guide
Top 10 PC Games Under 1 GB in 2026 – Best Low-Size Games for Low-End PCs
TAGGED:codesColorminecraft
Share This Article
Facebook Copy Link Print
ByAksara
Follow:
A digital marketer by profession who enjoys sharing his knowledge of technology through his work. His enthusiasm for sharing his knowledge knows no bounds. He revels in creating engaging content that demystifies complex tech concepts, making them accessible and enjoyable for all.
Previous Article How to change the background in Discord
Next Article How to Record Screen in OBS – 2026 Guide (Step by Step)
No Comments

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

MeshpieMeshpie
Follow US
© 2023 MeshPie. All Rights Reserved.
  • Home
  • News