Minecraft color codes

Minecraft Color and Formatting Codes Generator

Minecraft color codes are used in a Minecraft - a popular 3D sandbox video game and is widely regarded as one of the most profoundly influential games in history. The game offers complete freedom to players to create their world using 3D blocks. It has no specific goals to achieve and therefore offers room for players creativity. However, it does come with an achievement system. The game surrounds basic tasks such as exploration, crafting, and combat.

The popular game has two playing mode - solo or multiplayer. When playing on the multiplayer mode, players have the option to chat with each other. While the chat is simple and basic, players have the choice to format the text into different colors. The game comes with a built-in color code that one can leverage to chat or even send game commands.

Also, players use the color code to assign team color or at times to change the color of the armor. These Minecraft color codes are also known as ‘Format Codes,’ and it allows gamers to improve the appearance of in-game text. However, in reality, formatting codes deal more with the style of the text, such as making it bold or italic. Therefore beyond changing the text color, it allows modifying the style of the characters such making it either bold or italics.

Minecraft Color Codes

Messages that players sent have color codes that allows one to change the appearance of the text. In simple words, the formatting and color codes add color and style to the in-game text. The 3D sandbox game Minecraft packs a range of color codes and formatting codes. The primary function of these codes is to allow gamers to customize the text with different colors.

The color code begins with section sign (§) succeeded by hex digit, which is the number representation with digits 0-9 and letters A-F. The different number and letters create different effects and colors.

Players must write color code before the text they want to change. Even messages from the server to multiple players can be color-coded. The color code, i.e. ‘section sign (§) + hex digit’ notifies the client to swap colors at the time of displaying the text.

The below table demonstrates the color, chat code, MOTD code, decimal, and hexadecimal to make it easy for users to modify text:

Color Minecraft Name Chat Code MOTD Code Decimal Hexadecimal
Dark Red dark_red §4 \u00A74 11141120 AA0000
Red red §c \u00A7c 16733525 FF5555
Gold gold §6 \u00A76 16755200 FFAA00
Yellow yellow §e \u00A7e 16777045 FFFF55
Dark Green dark_green §2 \u00A72 43520 00AA00
Green green §a \u00A7a 5635925 55FF55
Aqua aqua §b \u00A7b 5636095 55FFFF
Dark Aqua dark_aqua §3 \u00A73 43690 00AAAA
Dark Blue dark_blue §1 \u00A71 170 0000AA
Blue blue §9 \u00A79 5592575 5555FF
Light Purple light_purple §d \u00A7d 16733695 FF55FF
Dark Purple dark_purple §5 \u00A75 11141290 AA00AA
White white §f \u00A7f 16777215 FFFFFF
Gray gray §7 \u00A77 11184810 AAAAAA
Dark Gray dark_gray §8 \u00A78 5592405 555555
Black black §0 \u00A70 0 000000

Let’s understand what each of these codes means in the table below

The color is the name of the particular color in Minecraft. Whereas the chat code is the code for color when sending a message via the chat function. Meanwhile, the is the MOTD code of the color in Minecraft for the Message Of The Day (MOTD) color. The decimal and hexadecimal are the value of the color in the game.

Below are the formatting codes for modifying the text style in the game:

Description Chat Code MOTD Code
Bold §l \u00A7l
Strikethrough §m \u00A7m
Underline §n \u00A7n
Italic §o \u00A7o
Reset the default color §r \u00A7r

Change Text Color and Style Using Color and Formatting Codes

As mentioned above that text can be modified using the color codes, but it is important players know how it's done. The common and primary key that one has to use to modify the code is the section sign. For example, follow the below steps to make a text bold in the chat:

  • To type the section sign (§) on WIndows, press
    For macOS, press ⌥ Option+6.
    Linux users have to press Compose+S+O.
  • Next, type the code for the modification you want. For instance, to bold the text type section sign (§) + l.

More so, gamers can choose to copy the character (§) from this page. However, one must note that world names and chats do not allow to paste.

Similarly, to change the text color to yellow, type the following ‘§e.’ Gamers can use the code in signs, chats, and world names.

To make it easy, one can use our Minecraft text generator. Gamers have to select the code and copy and paste it on Minecraft message.


Gamers must be cautious about using the color code after formatting code as it will show past the color code point.

For instance, §dA§oB shows as AB. However, §oA§dB exhibits as AB. if you notice that in the first option the letter B is italic, whereas in the second option the A is in italics.

Hence, it is a must to use the color code before the formatting when used alongside each other. Minecraft also offers code to reset all text formats, and the code for it is ‘§r’.

Server.properties and pack.mcmeta

To use the color and formatting codes in the MOTD, one has to replace section sign (§) with \u00A7. So if one ones to change the text color to red in MOTD, then gamers have to enter the following code \u00A74, instead of §4.

Below is the table with all color and style formats for MOTD. Gamers must remember to use formatting before the color codes.

Code Official Name MOTD code
§0 Black \u00A70
§1 Dark Blue \u00A71
§2 Dark Green \u00A72
§3 Dark Aqua \u00A73
§4 Dark Red \u00A74
§5 Dark Purple \u00A75
§6 Gold \u00A76
§7 Gray \u00A77
§8 Dark Gray \u00A78
§9 Blue \u00A79
§a Green \u00A7a
§b Aqua \u00A7b
§c Red \u00A7c
§d Light Purple \u00A7d
§e Yellow \u00A7e
§f White \u00A7f
§k Obfuscated \u00A7k
§l Bold \u00A7l
§m Strikethrough \u00A7m
§n Underline \u00A7n
§o Italic \u00A7o
§r Reset \u00A7r
\n Extra line \n

Also, the codes are compatible with older versions. The section sign must be replaced by \u00A7 to use the code in the server.properties. In case one enters the section sign (§) then the server will replace it with \u00C2\u00A7. Similarly, one can also use the codes with language packs.

If some of the characters are not compatible, then it will display as question marks in the MOTD.

More so, gamers can leverage tools such as NBTExplorer to assign custom colors to world names and server names. To change the server color, one has to have access to the .minecraft directory and choose Nameattribute in the servers.dat file. Players have to add the color code before the Name tag.

The above is a brief on how one can use color code and formatting code to modify in-game text in Minecraft. Gamers can even use these codes to change various other options such as world names, server names, MOTD, and command blocks.