Article Background
Back to Knowledgebase

How to Use Color & Formatting Codes on Your Minecraft Server

Minecraft
Cubes Support
July 20, 2026

Color codes are essential for customizing your Minecraft server. They allow you to add vibrant colors, bold text, and formatting effects to player chat, server announcements, in-game signs, item names, and scoreboards.

Depending on where you are typing—whether in vanilla single-player, a Spigot/Paper plugin, or server config files—Minecraft handles color codes using different symbols. This guide covers how to type the section symbol (§), the complete code reference list, and common use cases.


How to Type the Section Symbol (§)

Vanilla Minecraft uses the section symbol (§) to trigger color codes in-game. Here is how to type it on different operating systems:

  • Windows: Turn on NumLock, hold down the ALT key, type 21 (or 0167) on the numeric keypad, and release ALT.
  • Mac: Press Option + 6.
  • Copy & Paste: You can also simply copy it from here: §

Note for Plugins: Most Spigot, Paper, and Bukkit plugins (like EssentialsX or LuckPerms) automatically replace the ampersand symbol (&) with the section symbol, allowing you to type &a instead of §a!


Complete Minecraft Color Code Reference

Combine the section sign § (or & in plugins) with any of the following single-character codes:

Color Codes

CodeColor NameHex EquivalentVisual Sample
§0Black#000000Darkest black
§1Dark Blue#0000AADeep blue
§2Dark Green#00AA00Forest green
§3Dark Aqua#00AAAATeal / Cyan
§4Dark Red#AA0000Deep red
§5Dark Purple#AA00AAMagenta / Purple
§6Gold#FFAA00Orange / Gold
§7Gray#AAAAAALight gray
§8Dark Gray#555555Charcoal
§9Blue#5555FFBright blue
§aGreen#55FF55Lime green
§bAqua#55FFFFDiamond aqua
§cRed#FF5555Light red
§dLight Purple#FF55FFPink / Light purple
§eYellow#FFFF55Bright yellow
§fWhite#FFFFFFPure white

Formatting Codes

CodeFormatting EffectDescription
§kObfuscated / MagicRandomly cycling characters (§kMagic)
§lBoldMakes text thick and bold
§mStrikethroughDraws a line through text
§nUnderlineUnderlines text
§oItalicSlants text in italics
§rResetResets all colors and formatting back to default

Pro-Tip: Always place the color code first, followed by the formatting code. For example, §c§lWarning will produce bold red text, but §l§cWarning will reset the bold effect and only show red text!


Symbol Formats by Use Case

Minecraft uses different code formats depending on where you are configuring text:

  1. In-Game Chat & Commands (Vanilla / Books / Signs): Use the section symbol: §aHello §lWorld
  2. Plugins & Chat Formats (Spigot / Paper / EssentialsX): Use the ampersand symbol: &aHello &lWorld
  3. server.properties Config (Vanilla MOTD): Use Unicode escape characters: \u00A7aHello \u00A7lWorld
  4. Modern 1.16+ Hex RGB (Paper / MiniMessage): Modern Paper plugins support custom 6-digit HEX colors (e.g. &#FF5500 or <#FF5500>) for smooth rainbow gradients!

Common Use Cases & Examples

1. In-Game Signs

You can use § on vanilla signs (or & if using sign color plugins) to organize chest rooms or server rules:

§1[Server Rules]
§c1. No griefing
§c2. Be respectful

2. Custom Item Names in Anvils

When renaming items in an anvil, inserting § before color codes will permanently color the item name:

§6§lExcalibur

3. EssentialsX Chat Prefixes

When setting up LuckPerms or EssentialsX staff ranks:

prefix: "&8[&cAdmin&8] &f"

This produces: Admin Username: message


Conclusion

Mastering color codes is a quick way to make your server look professional and visually organized. Keep the reference tables bookmarked, place color codes before formatting codes, and enjoy customizing your server's chat and signs!

Special Offer

Ready to Start Your Server?

Get 10% OFF your first month on any server with promo code CUBES10 at checkout!

24/7 Assistance

Need Help With Your Server?

Already a Cubes Hosting customer and couldn't find your answer? Our dedicated support team is available 24/7.