New User posted their first comment

Minecraft Color Codes

Formatting codes apply color and modifications to the in-game text. It is possible to format text in Minecraft with the section sign (§). The section symbol can be entered into signs, world titles, books, named items, and in the chat in Bedrock Edition. External programs can be used to insert it in other locations. A § symbol followed by a hex digit in the message tells the client to switch colors while displaying text.

ColorChat CodeMOTD CodeDecimalHexadecimal
Dark Red§4u00A7411141120AA0000
Dark Green§2u00A724352000AA00
Dark Aqua§3u00A734369000AAAA
Dark Blue§1u00A711700000AA
Light Purple§du00A7d16733695FF55FF
Dark Purple§5u00A7511141290AA00AA
Dark Gray§8u00A785592405555555


  1. Color is the internal name for the color in Minecraft.

  1. Chat Code is the internal code for the chat color in Minecraft.

  1. MOTD Code is the internal code for the "Message Of The Day" color in Minecraft.

  1. Decimal is the decimal value for the color.

  1. Hexadecimal is the hexadecimal value for the color.

Formatting perimeters:

DescriptionChat CodeMOTD Code
Reset the default color§ru00A7r


  1. Description is the name of the format.

  1. Chat Code is the internal code for this format in chat.

  1. MOTD Code is the internal code for this format in the "Message Of The Day".

Use of color codes

The § symbol can be used for any text input in Bedrock Version, while it can be used in, pack.mcmeta, world titles, and server names in Java Edition. In Java Edition, the formatting code is disabled after the color code point if a color code is used after a formatting code. For example, §cX§nY displays as XY, whereas §nX§cY displays as XY. Therefore, when using a color code in parallel with a formatting code, first make sure the color code is used and, when swapping colors, reuse the formatting code.

Hold down the ALT key on your keyboard. Make sure Num Lock is on. Using only the number pad, type 2, then 1 (21). Release ALT and it should type a §.

On Mac, it looks like if you hold Option and type 6, it will type the § sign (Option and 5 for extended U.S. keyboards).

In order to get a MOTD colored or formatted, u00A7 must be used instead of §; for example, §5 would be u00A75. Colors can be used in conjunction with formatting. The formatting must be done after the color. 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.


Formatting codes can be used to color names and descriptions in language files by using § then any of the numbers/letters displayed above. This is also used in end.txt and credits.txt. 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. Additionally, the player can rename the world's folder to contain one of the codes. In the world selection menu, the specified color or effect appears.


  1. The color codes almost exactly match, in order, the 16 colors available using a Color Graphics Adapter (CGA), as released in 1981.



How do you type in color codes in Minecraft?

Hold down the ALT key on your keyboard. Make sure Num Lock is on. Using only the number pad, type 2, then 1 (21). Release ALT and it should type a §. Follow it by the number of colors from the 16 in the list above.

How do you get colored names in Minecraft?

When embossing a name tag in the anvil preceded the name by the color codes to get the name to feature the color of your liking.

Other Minecraft Wikis

Baby Mobs
Minecraft Compass
Respawn Anchor
Minecraft Shulker
Minecraft Ghosts
Minecraft Blocks
Minecraft Crop Farming
Minecraft Ravagers
Minecraft Silverfish
Minecraft Cave Update
Minecraft Cat
Minecraft Hopper
Minecraft Lantern

Fetching more content...
App download animated image Get the free App now