Minecraft color codes
The 16 chat colours and the formatting codes. Click a code to copy it.
| Colour | Code | Section sign | Hex |
|---|---|---|---|
| Black | |||
| Dark blue | |||
| Dark green | |||
| Dark aqua | |||
| Dark red | |||
| Purple | |||
| Gold | |||
| Gray | |||
| Dark gray | |||
| Blue | |||
| Green | |||
| Aqua | |||
| Red | |||
| Pink | |||
| Yellow | |||
| White |
| Format | Code | Section sign |
|---|---|---|
| Obfuscated | ||
| Bold | ||
| Strikethrough | ||
| Underline | ||
| Italic | ||
| Reset |
Examples
&6&lWelcome shows a bold gold word. &aOnline &7| &fSurvival mixes green, grey and white. Preview your server list message with the MOTD generator.
Questions
Should I type & or §?
Most plugins accept & in their configuration files. Vanilla text uses the section sign §. In server.properties write it as \u00A7.
Why did my bold disappear?
A colour code resets formatting. Put the colour first and the format after it, for example &c&l.
Can I use hex colours?
Minecraft 1.16 and later can display RGB colours, but the way you type them depends on the plugin. Check its documentation.