Minecraft Color Codes
All Minecraft color codes in one table: 16 colors with & codes, § codes, MOTD escapes, HEX values, and MiniMessage tags, plus 6 formatting codes and HEX colors from 1.16 onward in four formats. Click a code to copy it straight to your clipboard. Free, with no sign-up or download.
Built by Rugile Rutkauskaite
Found your colors? Use them on your own Minecraft server.
Color codes
| Preview | Name | Code | Chat (§) | MOTD | HEX | MiniMessage |
|---|---|---|---|---|---|---|
| Black | ||||||
| Dark Blue | ||||||
| Dark Green | ||||||
| Dark Aqua | ||||||
| Dark Red | ||||||
| Dark Purple | ||||||
| Gold | ||||||
| Gray | ||||||
| Dark Gray | ||||||
| Blue | ||||||
| Green | ||||||
| Aqua | ||||||
| Red | ||||||
| Light Purple | ||||||
| Yellow | ||||||
| White |
Formatting Codes
| Name | Code | Chat (§) | MiniMessage | Description |
|---|---|---|---|---|
| Obfuscated | Makes the text's characters change randomly and continuously. | |||
| Bold | Makes text bold. | |||
| Strikethrough | Adds a strikethrough to the text. | |||
| Underline | Underlines the text. | |||
| Italic | Makes text italic. | |||
| Reset | Resets all colors and formatting. |
HEX colors (from 1.16)
Minecraft 1.16 and later supports full RGB hex colors — here’s how to use them in every context:
Spigot/Bukkit format
&#FF5555Red TextMiniMessage Format
<#FF5555>Red TextJSON text (tellraw)
{"text":"Red","color":"#FF5555"}BungeeCord Format
&x&F&F&5&5&5&5RedHow it works
How to use Minecraft color codes
Find, copy, and paste codes for the server MOTD, plugin configs, data packs, and in Bedrock Edition also for chat and signs.
Step 1
Find a color or format
Choose your desired color from the color code table, a style such as bold or italic from the formatting code table, or the format for your system from the HEX colors section for 1.16 onward.
Step 2
Choose the right column
Choose the column that matches where you’ll use the code: Code (&) for plugin configs and chat plugins, Chat (§) for chat, signs, and anvils in Bedrock Edition and for data packs, MOTD (\u00A7) for server.properties, and MiniMessage for Paper and Velocity plugins.
Step 3
Copy code
Click a code to copy it to your clipboard instantly. A checkmark confirms it was copied.
Step 4
Put the code before the text
Insert the code directly before your text. Always put formatting codes after the color code, for example &c&lText for bold red text.
Step 5
Reset with &r
Use &r or §r to reset the color and formatting; the rest of the text will appear normally again.
Examples for chat, MOTD, and MiniMessage
Chat / Signs (Bedrock)
In Bedrock Edition, type the § symbol directly followed by the code. Java Edition filters § out of chat and signs, so there you use & with a plugin.
§cRed §aGreenResult: Red Green
server.properties MOTD
Use the Unicode escape sequence in server.properties instead.
motd=\u00A7cRed \u00A7aGreenResult: Red Green
\u00A7 corresponds to § in Unicode.
MiniMessage (Paper)
The modern tag format for Paper/Velocity plugins.
<red>Red</red> <green>Green</green>Also supports color gradients, e.g. <gradient:red:blue>.
Color overview
The 16 Minecraft colors with names, codes, and HEX values
The color codes range from §0 to §f: The digits 0 to 9 and letters a to f each represent a specific color. Here you can see each color with its name, official ID (as used in the MiniMessage tag), § code, & code, and HEX value.
Black
black
§0 · &0 · #000000
Dark blue
dark_blue
§1 · &1 · #0000AA
Dark green
dark_green
§2 · &2 · #00AA00
Dark cyan
dark_aqua
§3 · &3 · #00AAAA
Dark red
dark_red
§4 · &4 · #AA0000
Dark purple
dark_purple
§5 · &5 · #AA00AA
Gold
gold
§6 · &6 · #FFAA00
Gray
gray
§7 · &7 · #AAAAAA
Dark gray
dark_gray
§8 · &8 · #555555
Blue
blue
§9 · &9 · #5555FF
Green
green
§a · &a · #55FF55
Turquoise
aqua
§b · &b · #55FFFF
Red
red
§c · &c · #FF5555
Light violet
light_purple
§d · &d · #FF55FF
Yellow
yellow
§e · &e · #FFFF55
White
white
§f · &f · #FFFFFF
Reference
Understand Minecraft color codes
Minecraft uses a special formatting system with the section sign § to display colored and formatted text. The codes work in the server MOTD, in plugin configurations, and in data packs. You can only type § directly in Bedrock Edition (chat, signs, anvil); Java Edition filters the character out there. Each code consists of § followed by exactly one character (0-9 and a-f for colors, k-o and r for formatting).
Where color codes work
- Chat (Bedrock with §, Java via chat plugins with &)
- Signs (Bedrock with §, Java via plugins with &)
- Server MOTD (server.properties)
- Plugin configuration files
- Scoreboard titles (Bedrock with §), team colors in Java via /team modify <team> color <color name>
- Custom item names via anvil (Bedrock Edition)
Tips for using codes
- Color codes reset previous formatting
- Apply formatting after the color, not before
- §r resets all formatting
- Most plugins use & instead of §
- HEX colors require Minecraft 1.16+
Discover more
More Minecraft tools for MOTDs, items, and servers
Server Configuration Generator
Describe your server.properties in your own words using the ZapX AI Agent or set each option manually — with a live preview to copy or download.
Built by Florian Galz
Server Status Checker
Check live whether a Minecraft server is online — player count, MOTD, version, server icon, and Mods.
Built by Luca Stanek
Banner generator
Combine banner patterns and preview them live on a banner and shield — includes a /give command for modern and legacy servers.
Built by Rugile Rutkauskaite
Give Command Generator
Choose an item, name, lore, and enchantments—a ready-to-use /give command with the correct syntax for each Java version.
Built by Rugile Rutkauskaite
MOTD Generator
Design your server MOTD with colors, gradients and a live preview – ready for server.properties, Bedrock and MiniMessage.
Built by Marvin Kluck
Skin Viewer
Upload your own skin as a PNG and rotate, zoom, and animate it as a real 3D model — entirely in your browser, without uploading it to a server.
Built by Julian Alker
FAQ
Frequently asked questions
Quick answers about Minecraft color codes, formatting, MOTDs, HEX colors, and Bedrock.
Minecraft has 16 color codes and 6 formatting codes. The color codes run from 0 to 9 and a to f, from §0 (Black) to §f (White). The formatting codes are §k (obfuscated), §l (bold), §m (strikethrough), §n (underline), §o (italic), and §r (reset). The color code table lists each color with its & code, § code, MOTD escape, HEX value, and MiniMessage tag; formatting codes have an & code, § code, and MiniMessage tag.
Put the color code directly before your text. In Bedrock Edition, you type or paste it with the section sign, for example §cRed for red text in chat, on signs, or when renaming an item in an anvil. Java Edition doesn’t let you enter §: there you color text with plugins that convert & into color (for example &cRed in chat plugins and plugin configs), or in server.properties with the Unicode escape sequence \u00A7c. Click the appropriate code in the table to copy it.
§ is Minecraft’s actual formatting character: it’s the only character the game evaluates when it displays text. You can only type it in Bedrock Edition, though, for example in chat, on signs, or in an anvil. Java Edition filters § out of what you type, so there it only appears in files such as data packs or in text sent by servers and plugins. Most plugins (Bukkit/Spigot/Paper) automatically convert & to § in their own config files. That’s a plugin convenience, not a Minecraft standard. MiniMessage is the tag-based text format for Paper and Velocity plugins, such as <red>Red</red>, and also supports gradients like <gradient:red:blue>.
Depending on your keyboard layout, the § character may be on a different key or missing entirely. The easiest way is to click the code in the “Chat (§)” column: It’s copied to your clipboard with the § character included. That helps in Bedrock Edition and in files such as data packs. In Java Edition chat, on signs, and in the anvil, the game filters § out even when you paste it. In plugin configs and with chat plugins, write & instead, and in server.properties use \u00A7.
server.properties is traditionally read as ISO-8859-1, where a raw § character may not work reliably. Use the Unicode escape sequence \u00A7 followed by the code instead, for example motd=\u00A7cRed \u00A7aGreen. The “MOTD” column in the color code table copies exactly this format. Go to the Minecraft MOTD Generator
Each of the 16 colors has a fixed HEX value, such as Red #FF5555, Gold #FFAA00, Green #55FF55, and Dark Blue #0000AA. Custom RGB HEX colors are available only from Minecraft 1.16 onward. This page shows them using #FF5555 as an example in four formats: Spigot/Bukkit (&#FF5555), MiniMessage (<#FF5555>), JSON text for tellraw, and BungeeCord (&x&F&F&5&5&5&5). On older versions, you can use only the 16 standard colors.
Mostly yes: The 16 color codes (0-9, a-f) and formatting codes §k, §l, §o, and §r work the same in Java and Bedrock Edition. One important exception is §m and §n: In Bedrock, these codes represent material colors (Redstone and Copper, respectively) and don’t produce strikethrough or underline effects as they do in Java. HEX colors and MiniMessage are specific to Java Edition or Paper and aren’t available in Bedrock.
It’s usually the order: Formatting codes such as bold or italic must come after the color code, not before it, or the following color code will cancel the formatting. So &c&lText is correct. §r also resets all colors and formatting if you’ve included it by mistake.
Any more questions?
Contact SupportYour own Minecraft server, ready for your colors
A ZAP-Hosting Minecraft server is ready in 60 seconds, with full control over plugins, MOTD, and server configuration.
No setup. No risk. Online in seconds.
Looking for more tools? View all Minecraft tools

