Minecraft color codes
All 16 colors and 6 format codes, plus a live editor. Type with & or §, see the result, copy it for chat, signs or your MOTD.
Live editor
Click a code to insert it at the cursor, or type & and a code yourself.
PreviewColor codes
The standard 16 colors in Java edition. In server.properties, write § as \u00A7.
| Code | Name | Hex | MOTD | Preview |
|---|---|---|---|---|
| §0 | Black | #000000 | \u00A70 | |
| §1 | Dark Blue | #0000AA | \u00A71 | |
| §2 | Dark Green | #00AA00 | \u00A72 | |
| §3 | Dark Aqua | #00AAAA | \u00A73 | |
| §4 | Dark Red | #AA0000 | \u00A74 | |
| §5 | Dark Purple | #AA00AA | \u00A75 | |
| §6 | Gold | #FFAA00 | \u00A76 | |
| §7 | Gray | #AAAAAA | \u00A77 | |
| §8 | Dark Gray | #555555 | \u00A78 | |
| §9 | Blue | #5555FF | \u00A79 | |
| §a | Green | #55FF55 | \u00A7a | |
| §b | Aqua | #55FFFF | \u00A7b | |
| §c | Red | #FF5555 | \u00A7c | |
| §d | Light Purple | #FF55FF | \u00A7d | |
| §e | Yellow | #FFFF55 | \u00A7e | |
| §f | White | #FFFFFF | \u00A7f |
Format codes
Put format codes after the color. A new color clears formatting, so repeat it when you switch colors. §r resets everything.
| Code | Name | Effect |
|---|---|---|
| §k | Obfuscated | Random changing characters |
| §l | Bold | Thicker text |
| §m | Strikethrough | Line through the text |
| §n | Underline | Line under the text |
| §o | Italic | Slanted text |
| §r | Reset | Clears color and formatting |
& or §?
The game itself uses §. Many chat and permission plugins accept & instead and convert it, because § is hard to type. For the MOTD in server.properties, use the \u00A7 escape so the file stays readable in any editor.
More free tools: server name generator and the RAM calculator. All tools