By selecting “Accept all cookies,” you consent that Stack Exchange may put cookies on your computer and share information with third parties in accordance with our cookie policy.
Color codes
Color codes can be included in messages sent from the server to the client, allowing text to be colored for a variety of purposes.
Code | Name | Foreground color | Background color | Equivalent ANSI escape code | Version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
R | G | B | Hex | R | G | B | Hex | ||||
§0 | black | 0 | 0 | 0 | #000000 | 0 | 0 | 0 | #000000 | e[0;30m |
|
§1 | dark_blue | 0 | 0 | 170 | #0000AA | 0 | 0 | 42 | #00002A | e[0;34m |
|
§2 | dark_green | 0 | 170 | 0 | #00AA00 | 0 | 42 | 0 | #002A00 | e[0;32m |
|
§3 | dark_aqua | 0 | 170 | 170 | #00AAAA | 0 | 42 | 42 | #002A2A | e[0;36m |
|
§4 | dark_red | 170 | 0 | 0 | #AA0000 | 42 | 0 | 0 | #2A0000 | e[0;31m |
|
§5 | dark_purple | 170 | 0 | 170 | #AA00AA | 42 | 0 | 42 | #2A002A | e[0;35m |
|
§6 | gold | 255 | 170 | 0 | #FFAA00 | 42 | 42 | 0 | #2A2A00 | e[0;33m |
[JE only] |
64 | 42 | 0 | #402A00 | [BE only] | |||||||
§7 | gray | 170 | 170 | 170 | #AAAAAA | 42 | 42 | 42 | #2A2A2A | e[0;37m |
|
§8 | dark_gray | 85 | 85 | 85 | #555555 | 21 | 21 | 21 | #151515 | e[0;90m |
|
§9 | blue | 85 | 85 | 255 | #5555FF | 21 | 21 | 63 | #15153F | e[0;94m |
|
§a | green | 85 | 255 | 85 | #55FF55 | 21 | 63 | 21 | #153F15 | e[0;92m |
|
§b | aqua | 85 | 255 | 255 | #55FFFF | 21 | 63 | 63 | #153F3F | e[0;96m |
|
§c | red | 255 | 85 | 85 | #FF5555 | 63 | 21 | 21 | #3F1515 | e[0;91m |
|
§d | light_purple | 255 | 85 | 255 | #FF55FF | 63 | 21 | 63 | #3F153F | e[0;95m |
|
§e | yellow | 255 | 255 | 85 | #FFFF55 | 63 | 63 | 21 | #3F3F15 | e[0;93m |
|
§f | white | 255 | 255 | 255 | #FFFFFF | 63 | 63 | 63 | #3F3F3F | e[0;97m |
|
§g | minecoin_gold | 221 | 214 | 5 | #DDD605 | 55 | 53 | 1 | #373501 | — | [BE only] |
Formatting codes
Code | Name | Equivalent ANSI escape code | Compatible with Bedrock | Compatible with Java |
---|---|---|---|---|
§k | obfuscated | e[8m |
Yes | Yes |
§l | bold | e[1m |
Yes | Yes |
§m | strikethrough | e[9m |
No[1] | Yes |
§n | underline | e[4m |
No[1] | Yes |
§o | italic | e[3m |
Yes | Yes |
§r | reset | e[0m |
Yes | Yes |
Following k, random characters are always inserted that are the same width as the preceding characters. In the place of the letter “m,” for instance, any random character would be a wide character, while any random character in the place of an “i” would be a narrow character.
§r resets the styles of following characters; e. g. , §nXXX§rYYY displays as XXXYYY.
TypingSee also:
- With the majority of US/UK English keyboards, enter “” by pressing Alt NUMPAD2NUMPAD1 (alternate code on cp437) or Alt NUMPAD7NUMPAD8NUMPAD9. The Windows ANSI version Alt NUMPAD0NUMPAD1NUMPAD6NUMPAD7 frequently functions with any other keyboard.
- Because it is Unicode, Alt NUMPAD ANUMPAD7 (using the primary keyboard for “A”) works for any language if EnableHexNumpad is enabled in the Windows registry.
- Type Option 6 on a Mac equipped with a US keyboard (or Option 5 for US Extended). For any other keyboard, type ⌥ Option + 00a7.
- On Linux with the compose key activated, type Composeso. Unicode keyboard shortcuts can also be used to type the symbol: Ctrl + Shift u00a7.
- On a Nintendo Switch, choose languages (globe icon), then scroll down to find the “Symbols” language. Finally, choose Page 2 to locate the symbol to the right of the bottom line.
- Google Keyboard (GBoard) has the “” under the paragraph “” mark for various Android keyboards. Tap the number or symbol button to get started, then tap the “ABC” button above it to get more symbols, and finally hold down the paragraph key. Samsung Keyboard: The “§” is under the “s” key. Hold down the “s” and then slide over to the “” mark to gain access.
- iOS: On the iPad, the “” is located beneath the percentage sign. Tap the number/symbol button, then swipe down on the percent sign to gain access. On the iPhone the “§” is under the ampersand “&”. To enter, press the number/symbol button, hold down the & key, and then move your finger over to the “” mark.
- For Xbox: On the Xbox One, the “” is located beneath the repositioned P. Use the left trigger to access, then press and hold A while turning until additional options appear. Place the cursor over the “” mark, then choose with A. Additionally, by pressing and holding the A button while highlighting the S key on the standard alphanumeric keyboard, a number of “alternate” characters, including “,” become visible. This method also works on the Windows 10 version.
The symbol can be written as either u00A7 or u00a7 when it is a part of JSON text.
Alternatively, in Bedrock Edition, the character can be copied from this page () and pasted into a book by pressing Ctrl V (Windows) or Cmd V (MacOS). Note that pasting does not work on everything (e. g. chat, command blocks, and world names), and it might be necessary to use the JSON format or another technique.
Even in offline single player mode, using this character in chat in Java Edition disconnects the user, so it cannot be used directly in commands like /say
Early iterations of Java Edition Classic’s character were [2].
Sample text
The text below can be pasted into a Book and Quill (before version 1). 14) to produce what is shown in the picture:
§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 |
An MOTD must be formatted or colored by substituting u00A7 for ; for instance, 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 color.
Given that pack. The use of can be replaced by text components with a different color and style, though using still works. mcmeta files accept raw JSON text as descriptions.
Code | Official Name | MOTD code | Note |
---|---|---|---|
§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 | [Java Edition only] |
§n | Underline | u00A7n | [Java Edition only] |
§o | Italic | u00A7o | |
§r | Reset | u00A7r | |
New line | [a] |
- ↑ Raw JSON only.
Compatibility with older versions
The motd line in a server can use formatting codes. section signs must be escaped as u00A7 in the properties file. The server replaces a section sign entered directly with u00C2 u00A7 (); clients display the u00C2 character as a question mark. If the MOTD contains a lot of question marks, remove the u00C2 character. This occurs when something is incompatible.
Use in custom language packs
By typing followed by any of the above-listed numbers or letters, formatting codes can be used to colorize names and descriptions in language files. This is also used in end. txt and credits. txt. To make the name of a diamond appear as Diamond, for instance, type dDiamond.
Since Java Edition 1. 16, it is no longer possible to use r to remove italics from language files’ custom translation tags. For example, if the translation tag “item. example. the Name display data of a custom item (display:Name:translate:”item”) is modified to read “rTest Item” example. however, rather than just Test Item, it still displays as Test Item. This is not true of any other formatting options.
Use in world names
Using third-party applications like NBTExplorer, world names can have unique colors and formatting codes. Select the LevelName tag in the world’s level to change the name. dat. This example’s LevelName is set to 1R2e3d4s5t6o7n8e 9Carbecadteifo1n2s. (More Information Needed)
The player can also change the name of the worlds folder to include one of the codes. The desired color or effect appears in the world selection menu.
When creating a world, the player can also use a resource pack that has the name of the world already in it; all they need to do is change or modify the color code after the name of the world.
When creating a world in Bedrock Edition, the player is permitted to use a inside of the world name. This eliminates the need to modify the game in order to use customized colors and formatting codes inside the world name.
Use in server names
Using a third-party program like NBTExplorer, server names can have unique colors. Select the Name attribute in the servers to make use of this feature. dat file inside the . minecraft directory using a third party tool. The Name tag in the example below is set to “4lMinecraft” and “6lServer”:
After being introduced in Beta 1, Java Edition’s obfuscated format k has undergone three changes. 8. On the right is an of how the obfuscated text of 1234567890abcdefghijklmnopqrstuvwxyz~!@#$%^&*()-=_+{}[] looks in 4 different versions. Although they may appear similar at first glance, there are some differences. One significant distinction is that the obfuscated character cycles through more characters as font textures are updated with new characters and symbols. When any character in version 1 becomes obfuscated, that change is evident. 6. 4-1. 12. 2. However, when 1. When version 13 was released, it only looped through the ASCII character set if the obfuscated format was used on any character. However, a character that has been obscured can still add a character to its loop. If a player wrote a character into the chat that matches its dimensions, it is automatically added to the loop. As for 1. 13+, the whole system got reworked. No matter what kind of character is getting obfuscated, all characters cycle through all characters that can be written in the game. The distinction is that several unicode font characters are now included in the condition that previously only identified similar characters when it was more diversely identified. This can be spotted in one pixel width characters i!:;. , the most popular characters among gamers, exhibit a special effect when used with obfuscation rather than using it for its intended purpose. Followed by @~ in older versions.
- The color codes nearly exactly match the 16 colors that can be used with a Color Graphics Adapter (CGA), which was released in 1981, in terms of order. Only color 6 differs; the value for color 6 in Minecraft – #FFAA00 – differs from that made for CGA – #AA5500.
- ↑ a b
- ↑ IRC logs on Archive. org; #minecraft. 20090619. log. “P7:43:58 Quatroking: want to know a secret?” [. ] “P7:44:44 /say He&1llo&f, world! &bHOW ARE YOU!?” [. [P7:45:52 It almost looks like the ega palette. ] (June 20, 2009, 00:43:58 UTC)
How To Get Glitched/Colored Text On Items And Signs – Minecraft Bedrock Edition Survival!
FAQ
How do you get cursed text in Minecraft PC?
Tap the number or symbol button to get started, then tap the “ABC” button above it to get more symbols, and finally hold down the paragraph key.
How do you type symbols in Minecraft?
§l = bold text. §m = strikethrough text. §o = italicize text. §n = underline text.