MeshPie.
  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
  • Web Stories
No Result
View All Result
MeshPie.
No Result
View All Result

Color Codes of Minecraft

Debanjali Bera by Debanjali Bera
11 months ago
in Gaming, Minecraft
9 min read
0
Home Gaming
Share on FacebookShare on Twitter

Minecraft Color codes (Or simply Color codes) add extra spice to names, notification texts and chats in-game. These codes work across all platforms and formats including server nicknames (/nick), Bukkit plugins (like Essentials) and server MOTDs.

Text in Minecraft can be formatted with the section sign (§). In Bedrock Edition, the section sign can be entered into signs, world names, books, renaming items and in the chat. In Java Edition, section signs may be used in server.properties, pack.mcmeta, splashes.txt, world titles, books, and server names. External programs can be used to insert it in other locations.

Minecraft Color codes
All types of Minecraft formatting
Contents
1 Formatting Codes and Color
1.1 Color Codes
1.2 Formatting Code
1.3 Sample Text
2 Use in server.properties and pack.mcmeta
2.1 Code Table
2.2 Compatibility with older versions
3 Use in world names

Formatting Codes and Color

Formatting texts are done by using a section sign ( § ) in single player world and ( & ) in a server with a hex digit. A § symbol followed by a hex digit in the message tells the client to switch colors while displaying text. Using &(code) is an essentials plugin permission. In Bedrock Edition, colors can be used in any type of text input, but in Java Edition it can be used to name worlds, server name, andserver.properties, pack.mcmeta.

Additionally, there is a color codes generator which has previews for signs, server MOTDs, chat messages, books and more. This is very useful for testing color codes before using them in the game.

In Java Edition, the color code is used after a formating code, because formatting code value becomes null after the color code.

For example, &cA&li will be visible as Ai but &lA&ci will be visible as Ai. Therefore, when using a color code alone with a formatting code, make sure the color code is used first and reuse the formatting code when changing colors.

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

Color Codes

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]
Color Code Table

Formatting Code

CodeNameCompatible with BedrockCompatable with Java
&kobfuscatedYesYes
&lboldYes Yes
&mstrikethroughNo Yes
&nunderlineNo Yes
&oitalicYes Yes
&rresetYes Yes
Formatting Code table

Words used after &k has the same width as the original one.

&r resets the effects after the letters or words it is used but if colors are used it will stay. For example, &c&oHel&rlo will be like Hello.

Sample Text

§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

Use in server.properties and pack.mcmeta

In order to get an MOTD color or format\u00A7 must be used instead of §; for example, §5 would be \u00A75. The full list of them is listed below. Colors can be used in conjunction with formatting. The formatting must be done after the colors.

ADVERTISEMENT

Given that pack.mcmeta files accept raw JSON text as descriptions, the usage of § can be replaced by text components with different colors and styles, though using § still works.

Code Table

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

Compatibility with older versions

Formatting codes can be used in the motd line in a server.properties file, but the section signs must be escaped as \u00A7. If a section sign is entered directly, the server replaces it with \u00C2\u00A7 (§); clients display the \u00C2 character as a question mark. Delete the \u00C2 character in the MOTD if it comes with a bunch of question marks: this happens if something is not compatible.

ADVERTISEMENT

Use in world names

With the use of external tools, such as NBTExplorer, world names can have custom colors and formatting codes. To modify the name, choose the LevelName tag in the world’s level.dat. In this example, LevelName is set to §1R§2e§3d§4s§5t§6o§7n§8e §9C§ar§be§ca§dt§ei§fo§1n§2s.

In Bedrock Edition, the player is allowed to use a § inside of the world name when creating the world. This allows for using custom colors and formatting codes inside of the world name without having to modify the game.

Also Read: 10 Best Potions of Minecraft

Tags: codesColorminecraft
ADVERTISEMENT
Previous Post

15 Easy YouTube Channel Ideas without showing face 🔥

Next Post

Gamakay LK67 Keyboard Kit Review | The best budget keyboard kit?

Debanjali Bera

Debanjali Bera

Next Post

Gamakay LK67 Keyboard Kit Review | The best budget keyboard kit?

Leave Comment

Ads:

ADVERTISEMENT
Meshpie

MeshPie © 2022. Made with ❤ in 🇮🇳

Navigate Site

  • Home
  • About
  • Contact
  • Privacy Policy
  • Write For Us

Follow Us

No Result
View All Result
  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
  • Web Stories

MeshPie © 2022. Made with ❤ in 🇮🇳