The Ultimate Guide to Minecraft All Colour Codes – Unlock Every Hue!

Deborah Jun 12, 2026

Navigating the vibrant world of Minecraft often requires precision, especially when you are trying to replicate a specific brand color or create a perfectly coordinated build. Understanding how the game interprets color is the first step towards mastering its visual language, and that journey begins with the foundational format of decimal and hexadecimal color codes.

an old computer game screen with different colors and numbers on the screens, including red, green
an old computer game screen with different colors and numbers on the screens, including red, green

Decoding the Format: Hex vs. Decimal

Minecraft colour code
Minecraft colour code

Before diving into the specific values, it is essential to understand the two primary syntaxes used in Minecraft. The hexadecimal format, often seen with a preceding hash symbol (e.g., #FF0000), is the standard used on platforms like Discord and in modern resource packs, offering a wide spectrum of colors. The decimal format, however, is the legacy system ingrained in the game's chat commands, where each color is assigned a specific integer between 0 and 15. While hex is more intuitive for designers, decimal remains crucial for executing in-game commands, making literacy in both systems non-negotiable for any serious builder.

Applying Color to Text

Helpful Minecraft Color Codes and Format Codes
Helpful Minecraft Color Codes and Format Codes

Adding color to your chat messages or signs transforms communication into a personal statement, allowing you to highlight warnings, create stylish announcements, or simply add flair to your interactions. To apply these codes to text, you utilize the section symbol (§) followed by the corresponding code. This character acts as a switch, telling the game to render the subsequent text in the chosen hue. Whether you are alerting your server to danger or decorating a monument, mastering this technique ensures your words are as visually striking as your structures.

The Core Palette: Numbers and Names

Minecraft: All Dye Colors And How To Craft Them
Minecraft: All Dye Colors And How To Craft Them

Minecraft's standard color palette is built upon a simple yet effective numbering system. Each color is mapped to a number from 0 to 15, providing a reliable reference for commands and coding. This system ensures consistency across different versions and platforms, allowing players to share codes with confidence that the visual result will match expectations. Below is a comprehensive table detailing these numbers, their common names, and their hexadecimal equivalents, serving as a definitive guide for any project.

DecimalHex CodeColor Name
0#000000black
1#0000AAdark_blue
2#00AA00dark_green
3#00AAAAdark_aqua
4#AA0000dark_red
5#AA00AAdark_purple
6#FFAA00gold
7#AAAAAAgray
8#555555dark_gray
9#5555FFblue
10#55FF55green
11#55FFFFaqua
12#FF5555red
13#FF55FFlight_purple
14#FFFF55yellow
15#FFFFFFwhite

Advanced Styling: Formatting Codes

Minecraft
Minecraft

Color is just one aspect of text formatting; Minecraft also allows you to manipulate the weight and style of your letters to achieve a polished look. Formatting codes reset the text to default before applying the specific style, such as bold or italic, ensuring the formatting is consistent across the entire message. These codes are invaluable for creating clean GUIs in programming tasks, adding emphasis to lore, or designing complex maps where visual hierarchy guides the player experience.

Formatting Code Reference

To apply these styles, you use the same section symbol (§) followed by a specific letter. For instance, §l locks in bold text for headings, while §o applies italics for a subtle, academic tone. These modifiers can be combined with color codes to create a virtually endless combination of text appearances. Below is a quick reference for the most commonly used formatting options available to you.

an old computer game screen with numbers and colors on it, as well as the words page 1 of 1
an old computer game screen with numbers and colors on it, as well as the words page 1 of 1
CodeEffect
lBold
mStrikethrough
nUnderline
oItalic
rReset

Execution in Practice

the color code for text to be changed
the color code for text to be changed
Organized & Aesthetic: Color Codes for Google Sheets in Every Shade🌟
Organized & Aesthetic: Color Codes for Google Sheets in Every Shade🌟
Изменение цветов в табличках Майнкрафт
Изменение цветов в табличках Майнкрафт
an image of the color chart for different colors
an image of the color chart for different colors
Unidye Dye Blending Chart Minecraft
Unidye Dye Blending Chart Minecraft
the color scheme is pink and purple
the color scheme is pink and purple
an image of the color palettes for this project are different shades of pink, orange, and yellow
an image of the color palettes for this project are different shades of pink, orange, and yellow
the color scheme is red, white and gray with different shades to choose for it
the color scheme is red, white and gray with different shades to choose for it
Minecraft Color Codes — HTML Color Codes
Minecraft Color Codes — HTML Color Codes
minecraft color palettes 🎨
minecraft color palettes 🎨
Pigmentos do Minecraft
Pigmentos do Minecraft
Black to purple Minecraft Gradient
Black to purple Minecraft Gradient
🩵📞
🩵📞
an iphone screen showing the colors and text for different items in each color palettes
an iphone screen showing the colors and text for different items in each color palettes
the pink and black squares are all different colors, but there is no image to describe
the pink and black squares are all different colors, but there is no image to describe
minecraft ta lazım gayiii
minecraft ta lazım gayiii
the heart shapes are arranged in different colors
the heart shapes are arranged in different colors
an array of different colors and shapes on a black background with text that says,
an array of different colors and shapes on a black background with text that says,

Translating this knowledge into action depends on the context. In Java Edition, commands like /tellraw utilize JSON text components, where color is applied as a property string (color: "red"). In Bedrock Edition, the format shifts to a colon-based syntax (color: "red") within its command blocks. For resource pack creators working with JSON files, the format typically requires the hex code without the hash symbol. Understanding these environmental nuances ensures that your code executes smoothly, regardless of the platform you are using.

Troubleshooting and Best Practices

Even with the correct code, visual discrepancies can occur, often due to client caching or server settings. If a color appears incorrect, resetting your resource packs or clearing the chat history often resolves the issue. Additionally, remember that the legacy formatting code must directly touch the text string; codes typed separately in chat will not affect adjacent text. Always utilize the reset code (§r) if you wish to terminate a color effect mid-line, preventing the style from bleeding into subsequent messages and maintaining clean, professional text output.