Minecraft Color Codes
By PickaxeKit Editorial Team · Updated 2026-11-09
Minecraft has 16 colour codes (§0 to §f) and 6 formatting codes (§l bold, §o italic, §n underline, §m strikethrough, §k obfuscated, §r reset). Put the code right before the text it should change.
Colour codes
| Code | Colour | Hex | /tellraw name |
|---|---|---|---|
| §0 | Black | #000000 | black |
| §1 | Dark Blue | #0000AA | dark_blue |
| §2 | Dark Green | #00AA00 | dark_green |
| §3 | Dark Aqua | #00AAAA | dark_aqua |
| §4 | Dark Red | #AA0000 | dark_red |
| §5 | Dark Purple | #AA00AA | dark_purple |
| §6 | Gold | #FFAA00 | gold |
| §7 | Gray | #AAAAAA | gray |
| §8 | Dark Gray | #555555 | dark_gray |
| §9 | Blue | #5555FF | blue |
| §a | Green | #55FF55 | green |
| §b | Aqua | #55FFFF | aqua |
| §c | Red | #FF5555 | red |
| §d | Light Purple | #FF55FF | light_purple |
| §e | Yellow | #FFFF55 | yellow |
| §f | White | #FFFFFF | white |
Formatting codes
| Code | Effect |
|---|---|
| §l | Bold |
| §o | Italic |
| §n | Underline |
| §m | Strikethrough |
| §k | Obfuscated (flickering random letters) |
| §r | Reset to normal |
Tip: A colour code switches off bold and other formats, so write the colour first, then the format: §6§lGold bold.
Where the codes work
- Server MOTD (Java): in server.properties, write § as \u00A7. The MOTD Generator does this for you.
- Chat (Java): vanilla chat blocks the § symbol; use a /tellraw command with colour names instead.
- Signs and anvils (Bedrock): type § codes directly.
- Plugins: many server plugins accept & instead of §, for example &6.