xgaming.tools

Minecraft Color Codes

Complete reference for Minecraft color codes (§0–§f) and formatting codes (bold, italic, underline, strikethrough, obfuscated). Copy in §, &, \u00A7, MiniMessage, or hex formats. Works for chat, MOTD, /tellraw, plugins.

Minecraft server hosting from XGamingServer — instant setup, DDoS protection, mod support, and 24/7 help. 30% off your first month.

Color Codes

16 Minecraft color codes. Click any cell to copy. Use § prefix in chat and commands, & prefix in many plugin configs, \u00A7 (unicode) in server.properties.

Black§0
Dark Blue§1
Dark Green§2
Dark Aqua§3
Dark Red§4
Dark Purple§5
Gold§6
Gray§7
Dark Gray§8
Blue§9
Green§a
Aqua§b
Red§c
Light Purple§d
Yellow§e
White§f

Format Codes

Obfuscated

Random characters, cycling

Bold

Bold text

Strikethrough

Line through text

Underline

Underlined text

Italic

Italic text

Reset

Clears all prior formatting

Quick Reference

WherePrefixExample
Chat (in-game)§Use a § symbol or type command directly
Most plugins (config.yml)&message: "&aGreen!"
server.properties (MOTD)\u00A7motd=\u00A7aMy Server
/tellraw, /title (JSON)color: name{"text":"hi","color":"red"}
Paper / Adventure (MiniMessage)<tag><red>Error</red>

Live Preview

Welcome to my server!

Minecraft Color Codes — Quick Reference

Minecraft Java Edition uses 16 color codes (0–9 and a–f) plus 6 formatting codes (bold, italic, underline, strikethrough, obfuscated, reset). Each code is prefixed with § (section sign) in chat and commands, & in most plugin configs, and \u00A7 (unicode escape) in server.properties. Every color also has a MiniMessage tag (<red>, <gold>, etc.) for Paper/Adventure-based plugins.

Click any color or format code to copy it in the format you need. The hex column matches the wiki's official foreground RGB values exactly — use it in tellraw JSON or any tool that accepts hex colors.

Common uses: custom server names and MOTDs, colored chat prefixes via LuckPerms or Essentials, rank display names, /tellraw messages, book text, sign text, named items. The same codes work for all of them.

One gotcha: colors reset all formatting. If you want bold red text, you have to write &c&l — writing &l&c gives you just red because the color code wipes the bold. Order matters.

Minecraft Color Codes — FAQ

How do I use Minecraft color codes in chat?

Type § (section sign) followed by the color code. Example: §aHello gives green text. On most keyboards, § is typed via Alt+0167 (Windows) or Option+6 (Mac). Some servers rebind §, so & with a plugin like Essentials is often easier.

What's the difference between § and &?

§ is the actual Minecraft code prefix — it's what the client reads. & is a placeholder used by plugins and config files because you can't easily type § on most keyboards. Plugins convert & to § before sending to the client.

Why do my color codes not work in server.properties?

server.properties uses Java's unicode escape format: \u00A7 instead of § or &. So motd=\u00A7aMy Server gives green text. If you paste § directly, Java treats the file as ISO-8859-1 by default and mojibake happens.

Does Bedrock Edition support color codes?

Partially. Bedrock supports the same § codes in chat, signs, and books, but with different hex values for some colors (especially Dark Aqua). MOTD support was historically limited on Bedrock. Java codes are the standard reference.

What are hex colors (1.16+ and MiniMessage)?

Minecraft Java 1.16 added hex color support via /tellraw JSON: {"text":"hi","color":"#ff5500"}. MiniMessage (Paper/Adventure library) extends this with <#ff5500>hi</#ff5500> tags. Both give you the full 16M RGB palette instead of 16 presets.

Why does color reset bold/italic?

In Minecraft, a new color code resets all formatting. So &l&aHello is 'bold green' but &a&lHello is 'green, then reset to just bold green' — the second works. Order: color first, then format codes.

You might also need

Minecraft server admin docs

Read the full Minecraft server docs →

Step-by-step guides for installing mods, configuring your server, joining, troubleshooting, and admin commands.

Ready to play?

Run your own Minecraft server with XGamingServer

Instant setup, mods & plugins, DDoS protection and 24/7 human support — your server is live in minutes, no port-forwarding required.

99.9%
Uptime SLA
< 5 min
Instant setup
24/7
Human support
DDoS
Protected

Pick your plan

See all plans
Starter$8.40/mo4 GB RAMRenews $12/moBuy now
PopularNovice$10.50/mo6 GB RAMRenews $15/moBuy now
Rookie$17.50/mo8 GB RAMRenews $25/moBuy now
Pro$24.50/mo12 GB RAMRenews $35/moBuy now
Built-In Tool

Minecraft Server Hosting

Get managed Minecraft server hosting with this tool built into your panel — configure, deploy, and play in minutes. Instant setup, DDoS protection, 24/7 support.

Built-In Config ToolInstant Server SetupDDoS ProtectionExpert 24/7 Support
Get 40% OFFNo setup fees · Cancel anytime