How to Use Color and Formatting Codes in Minecraft

Reference guide for Minecraft color codes and formatting codes for MOTD, plugins, signs, and chat.

Minecraft uses special codes to add colors and formatting to text. These work in the MOTD, plugin configurations, signs (with plugins), and chat formatting.

Color Codes

CodeColorCodeColor
§0Black§8Dark Gray
§1Dark Blue§9Blue
§2Dark Green§aGreen
§3Dark Aqua§bAqua
§4Dark Red§cRed
§5Dark Purple§dLight Purple
§6Gold§eYellow
§7Gray§fWhite

Formatting Codes

CodeEffect
§lBold
§oItalic
§nUnderline
§mStrikethrough
§kObfuscated (random characters)
§rReset all formatting

Where to Use Color Codes

In server.properties (MOTD)

Use the § symbol directly:

motd=§a§lWelcome §r§7to our server!

In plugin configs

Most plugins use & instead of §:

prefix: "&6[Admin] &r"
welcome-message: "&aWelcome to the server!"

On signs (with EssentialsX)

Players with permission can use & codes on signs:

&4Warning!
&cDo not enter

In the Console

Commands in Console use § directly:

say §6§lServer restarting in 5 minutes!

💡 Tip: Most plugins use & as the color symbol since § is harder to type. Check each plugin's documentation for which symbol it uses.

📝 Note: Formatting codes must come before text. Place color before formatting (e.g., §a§l for bold green, not §l§a).

See also: Change MOTD | Setup EssentialsX

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page