Minecraft Color Codes

Use our handy list of Minecraft color codes and format codes to style your chat and game commands, and modify in-game text, team, and even armor color!

Style your Minecraft text!

Minecraft Text Preview

Preview:
Sample Text

List of Minecraft Color Codes

COLORNAMECHAT CODEMOTD CODEHEX CODEACTIONS
Black (black)§0\u00A70#000000
Dark Blue (dark_blue)§1\u00A71#0000AA
Dark Green (dark_green)§2\u00A72#00AA00
Dark Aqua (dark_aqua)§3\u00A73#00AAAA
Dark Red (dark_red)§4\u00A74#AA0000
Dark Purple (dark_purple)§5\u00A75#AA00AA
Gold (gold)§6\u00A76#FFAA00
Gray (gray)§7\u00A77#AAAAAA
Dark Gray (dark_gray)§8\u00A78#555555
Blue (blue)§9\u00A79#5555FF
Green (green)§a\u00A7a#55FF55
Aqua (aqua)§b\u00A7b#55FFFF
Red (red)§c\u00A7c#FF5555
Light Purple (light_purple)§d\u00A7d#FF55FF
Yellow (yellow)§e\u00A7e#FFFF55
White (white)§f\u00A7f#FFFFFF

List of Minecraft Format Codes

NAMECODEMOTD CODEDESCRIPTIONACTIONS
Bold§l\u00A7lMakes text bold
Italic§o\u00A7oMakes text italic
Underline§n\u00A7nUnderlines text
Strikethrough§m\u00A7mAdds a line through text
Obfuscated§k\u00A7kMakes text appear as random characters
Reset§r\u00A7rResets all formatting

How to Use Minecraft Color Codes

Minecraft allows players to add color and formatting to text in chat messages, server messages, and signs. This is done using special codes that begin with the § symbol (section symbol) followed by a specific character.

Where to Use Minecraft Color Codes

Minecraft color codes can be used in various contexts within the game:

  • Chat Messages: Players with appropriate permissions can use color codes in chat
  • Server MOTD: Admins can configure colorful server welcome messages
  • Books and Quills: Add colored text to written books
  • Team Colors: Set team colors in multiplayer games
  • Custom Names: Color names for items, pets, and more
  • Command Blocks: Create colorful command block outputs

Format Codes

In addition to colors, Minecraft also supports text formatting codes:

  • §l: Bold text
  • §m: Strikethrough text
  • §n: Underlined text
  • §o: Italic text
  • §k: Obfuscated/randomly changing text
  • §r: Reset all formatting

Examples of Using Color Codes

In Chat Commands:

/say §aHello §cWorld!

This will display "Hello" in light green and "World!" in red.

For Teams:

/team add RedTeam /team modify RedTeam color red /team add BlueTeam /team modify BlueTeam color blue

For Custom Named Items:

/give @p diamond_sword{display:{Name:"{\"text\":\"§bFrozen Blade\"}"}} 1

Limitations and Considerations

  • Regular players typically need special permissions to use color codes in chat
  • Color codes don't work in regular survival gameplay without modifications
  • Different Minecraft editions (Java, Bedrock) may have slight differences in color code behavior
  • Some servers may restrict the use of certain formatting codes

Tips & Tricks for Minecraft Text Formatting

Creating Rainbow Text

To create rainbow text, use a different color code before each letter or word:

§cR§6a§ei§an§bb§9o§5w
Rainbow

Server MOTD Formatting

For server admins, you can create a colorful Message of the Day (MOTD):

motd: "&b&l██&e&l██ &r&aWelcome to Our Server! &b&l██&e&l██"

Note: Many server configuration files use & instead of § for color codes.

Frequently Asked Questions

What is the section symbol (§) in Minecraft?

The section symbol (§) is used in Minecraft to indicate that the following character is a color or formatting code. When placed before text, it changes how that text appears in-game. For example, §c makes text red, and §l makes text bold.

To type the section symbol, you can use Alt+21 on Windows (with numpad), or copy and paste it from our tool above.

Can I use color codes in regular Minecraft survival mode?

In vanilla survival Minecraft, players typically cannot use color codes in regular chat. Color codes are primarily used by server administrators for server messages (MOTD), by players with special permissions, or in command blocks and custom named items.

Some servers may have plugins that allow regular players to use color codes in specific contexts.

How do I make rainbow text in Minecraft?

To create rainbow text in Minecraft, you need to alternate between different color codes before each letter or word. For example: §cR§6a§ei§an§bb§9o§5w would display each letter in a different color, creating a rainbow effect.

You can use our color codes table above to copy the exact codes you need for each color.

Do Minecraft color codes work the same in Bedrock and Java Edition?

While both Minecraft Java Edition and Bedrock Edition support color codes, there may be slight differences in implementation and available features. Java Edition generally offers more formatting options, while Bedrock Edition may have some platform-specific limitations.

The color codes themselves are largely consistent between versions, but the contexts in which they can be used might differ.

Enhance Your Minecraft Experience

Try our interactive tool to preview and copy Minecraft color codes for your server or game

Start Using Color Codes