MinecraftServers100

Minecraft color codes and formatting codes

Updated 2026-11-26

Color codes change how text looks in server MOTDs, chat and signs. Each code is the section sign § followed by a number or letter: §aWelcome shows green text.

Color codes

CodeColorHex
§0Black#000000
§1Dark blue#0000AA
§2Dark green#00AA00
§3Dark aqua#00AAAA
§4Dark red#AA0000
§5Dark purple#AA00AA
§6Gold#FFAA00
§7Gray#AAAAAA
§8Dark gray#555555
§9Blue#5555FF
§aGreen#55FF55
§bAqua#55FFFF
§cRed#FF5555
§dLight purple#FF55FF
§eYellow#FFFF55
§fWhite#FFFFFF

Formatting codes

CodeEffect
§kObfuscated (scrambling characters)
§lBold
§mStrikethrough (Java only)
§nUnderline (Java only)
§oItalic
§rReset to normal text

On Java, a color code resets any formatting before it, so put the color first and then bold or italic: §a§lHello, not §l§aHello. Bedrock keeps formatting when the color changes, so use §r to go back to plain text.

Bedrock has extra "material" colors on letters such as §g (Minecoin gold) and uses §m and §n for colors instead of strikethrough and underline.

Your server MOTD

  1. Build it in our MOTD generator with a live preview.
  2. Copy the motd= line it gives you.
  3. Stop the Java server and replace the motd= line in server.properties.
  4. Start the server and refresh your multiplayer list.

The line uses \u00A7 instead of the § character and \n for the second line, because server.properties is plain text: motd=\u00A7a\u00A7lMy Server\u00A7r\n\u00A7eSurvival and events.

Bedrock Dedicated Server has no MOTD setting; it shows server-name instead.

Colors in chat

Players can't type § in vanilla Java chat. Chat plugins usually translate & codes such as &a, depending on permissions. Modern Java also supports any RGB color through JSON text components; plugin hex formats differ, so check your plugin's documentation.

After changing your MOTD, check it with the server status checker.