search
Minecraft Wiki

Minecraft Wiki

797 pages Updated: Sep 26
Wiki BG

Minecraft Color Codes

You can apply color and modifications to signs, world titles, books, named items, and chat messages in Minecraft with the section sign (§) followed by a hex digit in the message such as “§1” for Dark Blue. To type the section sign, hold down the ALT key and use only the number pad, type 2, 1 (21) and release ALT to type a §.


ColorChat CodeMOTD CodeDecimalHexadecimal
Dark Red§4u00A7411141120AA0000
Red§cu00A7c16733525FF5555
Gold§6u00A7616755200FFAA00
Yellow§eu00A7e16777045FFFF55
Dark Green§2u00A724352000AA00
Green§au00A7a563592555FF55
Aqua§bu00A7b563609555FFFF
Dark Aqua§3u00A734369000AAAA
Dark Blue§1u00A711700000AA
Blue§9u00A7955925755555FF
Light Purple§du00A7d16733695FF55FF
Dark Purple§5u00A7511141290AA00AA
White§fu00A7f16777215FFFFFF
Gray§7u00A7711184810AAAAAA
Dark Gray§8u00A785592405555555
Black§0u00A7000


Color is the internal name for the color in Minecraft.


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


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


Decimal is the decimal value for the color.


Hexadecimal is the hexadecimal value for the color.


The Five Formatting Perimeters in Minecraft:


DescriptionChat CodeMOTD Code
Obfuscated§ku00A7k
Bold§lu00A7l
Strikethrough§mu00A7m
Underline§nu00A7n
Italic§ou00A7o
Reset the default color§ru00A7r


Description is the name of the format.


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


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


How to Use Color Codes in Minecraft


In a Nutshell: Type a “§” section sign by holding ALT + 2 and 1 on the numpad. Releasing ALT should place a section sign. Refer to the above graphs to change the color and formatting of the text that follows the section sign.


The § symbol can be used for any text input in Bedrock Version, while it can be used in the server.properties, 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.


Step 1: Typing the § Section Symbol


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 §.



If this combination does not work, try ALT + 0, 1, 6, 7 on the number pad.


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).


Step 2: Add a Color


Refer to the above graph to change the color of your text. For this example, we’ll use Gold, or §6.



You can use any color you would like, or even color code a secret combination into the book and quill!


Step 3: Adding Formatting


If you would like to add formatting like bolding or italicizing your text, you can do so with similar syntax. Just add the chat code of the format you want to add it to the text.



You can even add multiple to the same line.


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.


What can you Color Code in Minecraft?


The Bedrock edition of MInecraft makes color coding much more approachable than the Java edition of Minecraft. The color codes provide only an aesthetic purpose but it can be used even in your world’s title. To write color codes in a book, you will first need to create a book and quill, sign, or any other typeable line. .


  1. World titles


  1. Books


  1. Server Names


Sample Text of Color Codes


It can be helpful to see the syntax of the color codes as it can be difficult to grasp how to make it work. Simply recreating the below syntax can change the color of the text that follows.


  1. §00 §11 §22 §33


  1. §44 §55 §66 §77


  1. §88 §99 §aa §bb


  1. §cc §dd §ee §ff


Finally, the bullet points below show the syntax for obfuscated, bold, strikethrough, underline, italic, or reset. Strikethrough and underline are not compatible with the Bedrock edition of Minecraft.


Obfuscated: §rk §kMinecraft

Bold: §rl §lMinecraft

Strikethrough: §rm §mMinecraft

Underline: §rn §nMinecraft

Italic: §ro §oMinecraft

Reset: §rr §rMinecraft


Trivia


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


Video Guide


youtube-cover


Credits: Firebal676


FAQs


Q. How do you type the Section Symbol 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.


Q. 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.




Popular In Minecraft Wiki

Comments

Latest Wiki Pages

Oxidized Cut Copper in Minecraft

Oxidized Cut Copper in Minecraft

Minecraft Wiki 18 hr
Medium Amethyst Bud in Minecraft

Medium Amethyst Bud in Minecraft

Minecraft Wiki 18 hr
Mangrove Leaves in Minecraft

Mangrove Leaves in Minecraft

Minecraft Wiki 18 hr
Mangrove Leaves in Mninecraft

Mangrove Leaves in Mninecraft

Minecraft Wiki 18 hr
Minecraft Dimensions

Minecraft Dimensions

Minecraft Wiki 1 d
The End

The End

Minecraft Wiki 1 d
Armors in Minecraft

Armors in Minecraft

Minecraft Wiki 1 d
Respawn Anchor in Minecraft

Respawn Anchor in Minecraft

Minecraft Wiki 3 d
Deep Lukewarm Ocean in Minecraft

Deep Lukewarm Ocean in Minecraft

Minecraft Wiki 4 d
Deep Frozen Ocean in Minecraft

Deep Frozen Ocean in Minecraft

Minecraft Wiki 4 d
Deep Cold Ocean in Minecraft

Deep Cold Ocean in Minecraft

Minecraft Wiki 5 d
Dark Forest in Minecraft

Dark Forest in Minecraft

Minecraft Wiki 5 d
Deep Cold Ocean in Minecraft

Deep Cold Ocean in Minecraft

Minecraft Wiki 5 d
Dark Forest Hills in Minecraft

Dark Forest Hills in Minecraft

Minecraft Wiki 5 d
Cold Ocean in Minecraft

Cold Ocean in Minecraft

Minecraft Wiki 5 d
Birch Forest Hils in Minecraft

Birch Forest Hils in Minecraft

Minecraft Wiki 5 d
Birch Forest in Minecraft

Birch Forest in Minecraft

Minecraft Wiki 5 d
Beach in Minecraft

Beach in Minecraft

Minecraft Wiki 5 d
Wither skulls in Minecraft

Wither skulls in Minecraft

Minecraft Wiki 7 d
Amor Stand in Minecraft

Amor Stand in Minecraft

Minecraft Wiki 7 d