Minecraft Color Codes and Gradient Text Generator
List of all Minecraft color codes (&a, &c, §) and a hex gradient text generator: &#RRGGBB, MiniMessage and §x outputs.
Gradient text generator
Minecraft color codes table
In game it's written with §, in plugin settings usually with &. Click a code to copy it.
| Code | Color | Hex | Sample |
|---|---|---|---|
| §0 | Black (black) | #000000 | Minecraft |
| §1 | Dark blue (dark_blue) | #0000AA | Minecraft |
| §2 | Dark green (dark_green) | #00AA00 | Minecraft |
| §3 | Dark Aqua (dark_aqua) | #00AAAA | Minecraft |
| §4 | Dark red (dark_red) | #AA0000 | Minecraft |
| §5 | Dark Purple (dark_purple) | #AA00AA | Minecraft |
| §6 | Gold (gold) | #FFAA00 | Minecraft |
| §7 | Gray (gray) | #AAAAAA | Minecraft |
| §8 | Dark gray (dark_gray) | #555555 | Minecraft |
| §9 | Blue (blue) | #5555FF | Minecraft |
| §a | Green (green) | #55FF55 | Minecraft |
| §b | Aqua (aqua) | #55FFFF | Minecraft |
| §c | Red (red) | #FF5555 | Minecraft |
| §d | Light Purple (light_purple) | #FF55FF | Minecraft |
| §e | Yellow (yellow) | #FFFF55 | Minecraft |
| §f | White (white) | #FFFFFF | Minecraft |
Format codes
| Code | Effect | JSON / MiniMessage | Sample |
|---|---|---|---|
| §l | Bold | bold | Minecraft |
| §o | Italic | italic | Minecraft |
| §n | Underline | underlined | Minecraft |
| §m | Strikethrough | strikethrough | Minecraft |
| §k | Obfuscated / hidden | obfuscated | x7#Kq |
| §r | Reset | reset | Minecraft |
How to write colored text in Minecraft?
In Minecraft, text color is changed with a color code placed before the text. The game's own code starts with § (the section sign); but because it's hard to type on a keyboard, plugins like EssentialsX, LuckPerms and TAB accept the & sign and convert it to § in the background. For example &aHello writes in green and &c&lWARNING writes in bold red.
Thanks to the hex (RGB) colors that arrived with version 1.16, you are not limited to 16 colors: you can use any color like &#FF8800 and create gradient text by changing color letter by letter. If you don't know which format your plugin supports, try the &#RRGGBB format first; new Paper-based plugins mostly use MiniMessage.
A color code resets any bold or italic format after it; so write the color first, then the format: &6&l. To color the description shown in the server list, use MOTD Generator.
Guides related to this tool
Frequently Asked Questions
What are the Minecraft color codes?
&0 black, &1 dark blue, &2 dark green, &3 cyan, &4 dark red, &5 purple, &6 gold, &7 gray, &8 dark gray, &9 blue, &a green, &b light blue, &c red, &d pink, &e yellow, &f white. Format codes: &l bold, &o italic, &n underline, &m strikethrough, &k obfuscated, &r reset.
What's the difference between & and §?
In game, the color character is the § sign. Plugins accept & so it's easy to type and convert it to §. In files like server.properties, you need § (§) directly.
How do I make gradient text?
Choose the start and end color and enter your text. The tool calculates an intermediate color for each letter and produces the format that fits the plugin you use (&#RRGGBB, MiniMessage, §x).
Which plugins support hex colors?
Plugins like EssentialsX, CMI, TAB and DeluxeMenus support &#RRGGBB; plugins using Paper and MiniMessage support <#RRGGBB> and <gradient> tags. The server must be 1.16 or later.
Other Minecraft Server Tools
Is your server ready? Add your server to the list, collect votes and automatically reward your players. All tools →