Minecraft Color Codes
The sixteen colors and the five styles, with a preview that matches what the game draws. Write your text, click a color, and copy the line for a sign, a plugin or a command.
Your text
20 letters, without the codes. Click a color or a style below to put its code where the cursor is.
How it looks in the game
Welcome to my server
Section sign (signs, books, server files)
§6Welcome to §c§lmy server
Ampersand (most plugins and server tools)
&6Welcome to &c&lmy server
JSON text (/tellraw, /title, command blocks)
[{"text":""},{"text":"Welcome to ","color":"gold"},{"text":"my server","color":"red","bold":true}]The whole table
| Code | Name | JSON name | Color |
|---|---|---|---|
| §0 | Black | black | #000000 |
| §1 | Dark blue | dark_blue | #0000aa |
| §2 | Dark green | dark_green | #00aa00 |
| §3 | Dark aqua | dark_aqua | #00aaaa |
| §4 | Dark red | dark_red | #aa0000 |
| §5 | Dark purple | dark_purple | #aa00aa |
| §6 | Gold | gold | #ffaa00 |
| §7 | Gray | gray | #aaaaaa |
| §8 | Dark gray | dark_gray | #555555 |
| §9 | Blue | blue | #5555ff |
| §a | Green | green | #55ff55 |
| §b | Aqua | aqua | #55ffff |
| §c | Red | red | #ff5555 |
| §d | Light purple | light_purple | #ff55ff |
| §e | Yellow | yellow | #ffff55 |
| §f | White | white | #ffffff |
| §k | Obfuscated | obfuscated | The letters scramble and keep changing while you look at them. |
| §l | Bold | bold | Thicker letters. |
| §m | Strikethrough | strikethrough | A line through the middle. |
| §n | Underline | underlined | A line under the letters. |
| §o | Italic | italic | Slanted letters. |
| §r | Reset | n/a | Clears the color and every style at once. |
How it works
- Type the text you want in the box.
- Put the cursor where the color should start, then click a color. The code goes in at the cursor.
- Add a style after the color, not before it. A color code clears the styles, so the order matters.
- Read the preview. It is painted from the same rules the game uses, including that clearing behavior.
- Copy the version you need. Use the section sign for a sign or a book, the ampersand for most plugins, and the JSON for /tellraw and /title. To put a picture rather than text in the world, try the custom painting tool.
Nothing is sent anywhere. The text stays in your browser, and there is no account.
Questions
- How do I type the section sign?
- You do not have to. Click a color or a style here and the code goes into the box, then copy the whole line. If you want to type it yourself, most servers and plugins accept an ampersand instead, and the second output box gives you that version.
- Why did my bold text go back to normal?
- Because a color code clears the styles as well as setting the color. If you want bold red, write the color first and the style after it. The preview shows this, so what you see is what the game draws.
- Where can I use these codes?
- Signs, books, item names on a server, the server list description, and most plugin messages. Ordinary chat does not accept them in vanilla Minecraft, and neither does a world name.
- What is the difference between the three output boxes?
- They are the same text for three places. The section sign version is what signs, books and server files want. The ampersand version is what most plugins and server tools want. The JSON version is what commands such as /tellraw and /title want.
- What does the obfuscated code do?
- It scrambles the letters and keeps changing them while you look. The preview blurs them instead, because a constant animation on a reference page is a distraction. In the game the letters keep the same width and change several times a second.
- Can I use any color I want?
- With these codes, no. There are sixteen, and they are the same sixteen everywhere. Commands that take a JSON text component accept a hex color as well, so a /tellraw or a sign can use one, but a section sign code cannot.