Minecraft color formatting breathes life into your text, transforming bland messages into vibrant communication. This guide breaks down every method available in Java and Bedrock Edition, from simple sign dyes to complex JSON commands for datapacks. Understanding these codes, often called "section signs" or "color codes," is essential for server owners, map makers, and anyone looking to polish their user interface.
Decoding the Section Sign
The foundation of Minecraft formatting lies in the section sign (§). In the game's code, this symbol acts as a trigger, telling the client that the following character dictates a color or style. While you can't type this symbol directly on a standard keyboard, you insert it using specific key combinations. On Windows, hold Alt and type 0167 on the numeric keypad. On macOS, press Option + 6. Alternatively, copying the section sign (§) from this guide and pasting it into your chat or configuration file is the fastest method for most players.
Formatting Codes vs. Color Codes
It is important to distinguish between formatting and color codes. Color codes change the hue of your text, while formatting codes alter its style. Formatting codes include modifiers for bold, italic, underlined, and obfuscated text. These styles can be combined with colors, and multiple formatting codes can stack onto a single message to create a unique aesthetic. The reset code is particularly crucial, as it returns the text to the default gray color and clears all style settings.

Applying Color in Game
In-game application varies significantly depending on the interface you are using. In chat, you simply type the section sign followed by a letter representing the color. For example, §a produces green text, while §l makes the text bold. Signs offer a more visual approach, requiring you to insert dye items in a specific pattern on the crafting interface to apply colors to specific lines of text. This method is tactile and provides immediate feedback as you arrange the dyes to achieve the desired shade.
- Chat and Commands: Type § followed by the code (e.g., §cHello).
- Signs: Use dyes in the crafting grid to color lines.
- Book Covers: Combine dyes on a crafting table to change cover colors.
Advanced Techniques with JSON
For server operators and technical users, JSON (JavaScript Object Notation) text components offer the highest level of control. By embedding color and formatting codes directly into the JSON string, you can create complex text layouts with mixed colors and styles in a single line. This method is the standard for modern resource packs and datapacks, allowing for precise placement of hover events and click actions that would be impossible with standard in-game chat inputs.
| Color Code | Result | Hex Color (Approximate) |
|---|---|---|
| §0 | Black | #1D1D1D |
| §1 | Dark Blue | #1C1CFC |
| §2 | Dark Green | #1CFC1C |
| §3 | Dark Aqua | #1CFCFC |
| §4 | Dark Red | #FC1C1C |
| §5 | Dark Purple | #B11CFB |
| §6 | Gold | #F5D01C |
| §7 | Gray | #909090 |
| §8 | Dark Gray | #454545 |
| §9 | Blue | #4545FC |
| §a | Green | #31FC1C |
| §b | Light Blue | #31FCFC |
| §c | Red | #FC1C1C |
| §d | Light Purple | #D11CFB |
| §e | Yellow | #FCFC1C |
| §f | White | #FCFCFC |
Implementation in Resource Packs
Resource pack creators rely heavily on color formatting to define the palette of item names, boss bar text, and advancement titles. The formatting codes are embedded directly into the translation string files located in the assets folder. This allows creators to design custom naming schemes that match the visual theme of their texture packs. For example, a medieval fantasy pack might use §6 and §e for treasure items, while a horror-themed pack might utilize §4 and §5 for an ominous feel. The flexibility ensures that the user interface can be fully customized to enhance immersion.

Troubleshooting Common Issues
Encountering invisible characters or incorrect colors usually stems from two issues: using the wrong order or employing the wrong type of hex code. Remember that the section sign must come first, immediately followed by the formatting character. If you copy code from websites or PDFs, you might accidentally copy a "fake" section sign that looks identical but does not function in the game. Always type the symbol manually or ensure your copied character is the correct Unicode U+00A7. Furthermore, the reset code (§r) is vital; without it, subsequent text will inherit the previous formatting, leading to unexpected results.
Minecraft Info Part 1 - Every Formatting Code Tidbit Minecraft Blog
Minecraft Color Codes & Formatting (MiniMessage codes included ...
Minecraft Text Color Code _ Minecraft Colors (And Format Codes) – LQPPM
Minecraft Color Codes Bedrock _ Minecraft Colors (And Format Codes) – IRCVP
Minecraft: All Color Codes And Format Codes – TWMWFE
How To Change Text Color For Signs In Minecraft Color Codes
Text Color Codes Minecraft - Design Talk
ColorCodes | SpigotMC - High Performance Minecraft Software
Minecraft Formatting Colors
§ Minecraft Color Codes
The Ultimate Guide to Minecraft Color Codes and Format Codes in 2022 ...
Minecraft Coloring Codes - Templates Printable
Formatting codes – Minecraft Wiki
Minecraft Prefix Generator : Minecraft Color Codes (and Format Codes ...
Rainbow Minecraft Color Code , Minecraft color codes and format codes ...
How To Format/Color Your Minecraft Server MOTD (Minecraft Formatting ...
The Ultimate Guide to Minecraft Color Codes and Format Codes in 2022 ...
The Ultimate Guide to Minecraft Color Codes and Format Codes in 2022 ...
How To Use Minecraft Color & Format Codes - YouTube
Minecraft Formatting Color Codes - Minecraft Bedrock Tutorial - YouTube