Minecraft Color Codes
Every color and formatting code, with a live formatter. Click a code to insert it.
Color codes
| Code | Color | JSON name | Hex | Preview |
|---|---|---|---|---|
§0 / &0 | Black | black | #000000 | |
§1 / &1 | Dark Blue | dark_blue | #0000AA | |
§2 / &2 | Dark Green | dark_green | #00AA00 | |
§3 / &3 | Dark Aqua | dark_aqua | #00AAAA | |
§4 / &4 | Dark Red | dark_red | #AA0000 | |
§5 / &5 | Dark Purple | dark_purple | #AA00AA | |
§6 / &6 | Gold | gold | #FFAA00 | |
§7 / &7 | Gray | gray | #AAAAAA | |
§8 / &8 | Dark Gray | dark_gray | #555555 | |
§9 / &9 | Blue | blue | #5555FF | |
§a / &a | Green | green | #55FF55 | |
§b / &b | Aqua | aqua | #55FFFF | |
§c / &c | Red | red | #FF5555 | |
§d / &d | Light Purple | light_purple | #FF55FF | |
§e / &e | Yellow | yellow | #FFFF55 | |
§f / &f | White | white | #FFFFFF |
Formatting codes
| Code | Effect | JSON |
|---|---|---|
§k / &k | Obfuscated | obfuscated |
§l / &l | Bold | bold |
§m / &m | Strikethrough | strikethrough |
§n / &n | Underline | underlined |
§o / &o | Italic | italic |
§r / &r | Reset | reset |
Frequently asked questions
How do I use color codes in Minecraft?
Put the section sign § followed by a code before your text, for example §cHello for red text. On most servers and in plugins like EssentialsX you type & instead of §, for example &cHello.
How do I type the § symbol?
On Windows hold Alt and type 0167 on the number pad. On Mac press Option + 6. You can also copy it from the formatter on this page.
Can I use color codes in normal chat?
Not in vanilla Java Edition chat. They work in server MOTDs, signs and books in Bedrock Edition, and on servers with chat-format plugins. For commands like /tellraw, use the JSON color names in the table.
How do I combine a color with bold?
Put the color code first and the format code after it, for example §6§l for bold gold. A color code after a format code resets the formatting.