Discord
Colors in Minecraft
Wiki

Colors in Minecraft: the complete guide

Colors matter all over Minecraft: dyed wool and armor, banners and concrete, and the color codes you use in chat. This guide covers all 16 dyes, the chat color codes (§0-§f), hex codes, and how to dye every type of item in the game.

The 16 dyes: color table

Minecraft has exactly 16 dyes, and each one matches a single color. Dyes color wool, glass, terracotta, concrete, beds, candles, leather armor and banners. The table below lists every color with its hex code, which is handy for builders and for texture pack makers alike.

Color Sample Name Hex Dye source
#F9FFFE
White #F9FFFE Lily of the Valley or bone meal
#F9801D
Orange #F9801D Orange Tulip, or red + yellow dye
#C74EBD
Magenta #C74EBD Allium, Lilac, or purple + pink dye
#3AB3DA
Light Blue #3AB3DA Blue Orchid, or white + blue dye
#FED83D
Yellow #FED83D Dandelion or Sunflower
#80C71F
Lime #80C71F Smelting a Sea Pickle, or white + green dye
#F38BAA
Pink #F38BAA Pink Tulip, Peony, or white + red dye
#474F52
Gray #474F52 White + black dye
#9D9D97
Light Gray #9D9D97 Oxeye Daisy, White Tulip or Azure Bluet
#169C9C
Cyan #169C9C Blue + green dye
#8932B8
Purple #8932B8 Red + blue dye
#3C44AA
Blue #3C44AA Lapis Lazuli, or Cornflower (since 1.14)
#835432
Brown #835432 Cocoa Beans
#5E7C16
Green #5E7C16 Smelting a Cactus in a furnace
#B02E26
Red #B02E26 Poppy, Red Tulip or Rose Bush
#1D1D21
Black #1D1D21 Ink Sac or Wither Rose

How to make dyes

You can get dyes in a few different ways. The most common is crafting from flowers: put a flower in any slot of the crafting grid and you get a dye in the matching color. Below you'll find every way to get dyes.

Dyes from flowers

This is the easiest way to get most dyes. Flowers grow naturally in many biomes and you can pick them by hand. Here is every flower and the dye it gives:

Flower Dye
PoppyRed
DandelionYellow
Blue OrchidLight Blue
AlliumMagenta
Azure BluetLight Gray
Red TulipRed
Orange TulipOrange
White TulipLight Gray
Pink TulipPink
Oxeye DaisyLight Gray
CornflowerBlue
Lily of the ValleyWhite
Wither RoseBlack
SunflowerYellow (x2)
LilacMagenta (x2)
Rose BushRed (x2)
PeonyPink (x2)

Dyes from smelting

Two dyes need a furnace:

  • Green dye: smelt a cactus in a furnace. Cacti grow naturally in the desert and in badlands biomes.
  • Lime dye: smelt a sea pickle in a furnace. Sea pickles can be found in warm oceans.

Dyes from other sources

  • Black dye: an ink sac from a squid, or a wither rose
  • White dye: bone meal (made from skeleton bones) or a lily of the valley
  • Blue dye: lapis lazuli (mined between Y=-64 and Y=64) or a cornflower
  • Brown dye: cocoa beans from jungles

Mixing dyes

You can make many secondary dyes by combining two basic dyes in the crafting grid. This is especially useful when the right flowers aren't nearby. Here is every mixing recipe:

Ingredient 1 + Ingredient 2 = Result
Red + Yellow = Orange
Red + Blue = Purple
Red + White = Pink
Blue + Green = Cyan
Blue + White = Light Blue
Green + White = Lime
Black + White = Gray
Gray + White = Light Gray
Purple + Pink = Magenta
Tip: Double flowers (sunflower, lilac, rose bush, peony) give 2 dyes instead of 1. Use bone meal on them to get an endless supply of dye in the color you want.

Chat color codes (§0-§f)

Minecraft uses the § (section sign) followed by a single character (0-9 or a-f) to color text in chat, on signs, in item names and in config files. On most multiplayer servers you type an & (ampersand) instead of §, because the Minecraft client won't let you type § directly into chat.

The table below lists all 16 color codes with samples and exact hex values:

Code Color Sample Hex Example
§0 Black
#000000 §0 Sample text
§1 Dark Blue
#0000AA §1 Sample text
§2 Dark Green
#00AA00 §2 Sample text
§3 Dark Aqua
#00AAAA §3 Sample text
§4 Dark Red
#AA0000 §4 Sample text
§5 Dark Purple
#AA00AA §5 Sample text
§6 Gold
#FFAA00 §6 Sample text
§7 Gray
#AAAAAA §7 Sample text
§8 Dark Gray
#555555 §8 Sample text
§9 Blue
#5555FF §9 Sample text
§a Green
#55FF55 §a Sample text
§b Aqua
#55FFFF §b Sample text
§c Red
#FF5555 §c Sample text
§d Light Purple
#FF55FF §d Sample text
§e Yellow
#FFFF55 §e Sample text
§f White
#FFFFFF §f Sample text

How to use color codes

  • In config files (for example the MOTD in server.properties): use the code directly, like §eYour §6server
  • On servers with plugins (for example EssentialsX): use &eYour &6server
  • In /tellraw commands: use JSON with a "color" field, for example /tellraw @a {"text":"Welcome!","color":"gold"}
Important: Color codes override each other: the last color code before the text decides its color. The code §r resets all styles and colors to default.

Text style codes (§l, §m, §n, §o, §r)

Besides colors, Minecraft also supports text formatting codes. You can combine them with color codes. Always put the color code first and the style code after it.

Code Style Description Example
§k Obfuscated Text turns into random characters ??????
§l Bold Text is bold Bold
§m Strikethrough Text is crossed out Strikethrough
§n Underline Text is underlined Underline
§o Italic Text is slanted Italic
§r Reset Resets all styles and colors to default Normal text

Combining example: §6§l = gold bold text. Remember that the color code always has to come before the style code. In the reverse order, the color resets the style.

Hex color codes (&#RRGGBB)

Since Minecraft Java Edition 1.16, chat supports full RGB hex codes, which gives you over 16 million colors instead of the standard 16. This works in /tellraw, in config files and in plugins that support hex.

Format in /tellraw commands

In the /tellraw command, use the "color" field with a hex code:

/tellraw @a {"text":"Colored text!","color":"#FF6B2C"}

Format on servers (plugins)

Popular plugins like EssentialsX, CMI and ChatControl support hex in several variants:

  • EssentialsX: &#FF6B2C or &x&F&F&6&B&2&C
  • MiniMessage (PaperMC): <color:#FF6B2C>Text</color>
  • Gradients (MiniMessage): <gradient:#FF0000:#0000FF>Gradient text</gradient>

Popular hex codes to use in Minecraft

Creeper
#43A047
Enderman
#7B1FA2
Lava
#FF6D00
Diamond
#4DD0E1
Gold
#FFD54F
Emerald
#66BB6A
Netherite
#4A3728
Redstone
#D32F2F
Lapis
#1A237E
Amethyst
#AB47BC
Copper
#E87545
XP Green
#7CFC00
Tip: Hex codes don't work in Bedrock Edition, which only has a fixed set of color codes. If you run a cross-play server with GeyserMC, Bedrock players will see the closest standard color instead of the exact hex.

Leather armor colors

Leather armor is the only type of player armor you can dye. By mixing dyes you can get over 12 million unique colors, far more than the standard 16.

How to dye armor: Java Edition

In Java Edition, put a piece of leather armor and one or more dyes in any slots of the crafting grid. You can add up to 8 dyes at once, which gives a mixed color.

How to dye armor: Bedrock Edition

In Bedrock Edition, use a cauldron: fill it with water, click it with a dye (the water changes color), then click the cauldron with the armor piece. Each click with another dye mixes its color with the existing one.

Mixing armor colors

Minecraft's color mixing works differently from mixing real paint. The game averages the RGB values of every dye used, then shifts the result toward the strongest component. That keeps colors more vivid than simple averaging would. The final result depends on the order and proportions of the dyes you use.

Tip: To reset the color of leather armor in Java Edition, use it on a cauldron of clean water. In Bedrock Edition, click the water cauldron while holding the armor. You can also use the /give command to give armor any RGB color.

Wool colors

Wool comes in all 16 colors and is one of the oldest dyeable blocks in Minecraft (it was added in Classic). White wool drops naturally from sheep, and it is the basic material for dyeing.

Ways to get colored wool

  1. Dyeing white wool: put white wool and a dye in the crafting grid (1 wool + 1 dye = 1 colored wool)
  2. Dyeing a sheep: right-click a sheep while holding a dye. The sheep changes color permanently and gives colored wool when sheared. This is the most cost-effective method, because a sheep regrows its wool again and again.
  3. Natural spawns: sheep spawn mostly white (81.836%), but they can also be light gray (5%), gray (5%), black (5%) or brown (3%). Pink sheep are extremely rare (0.164%).

Palette of all 16 wool colors

White
Orange
Magenta
Light Blue
Yellow
Lime
Pink
Gray
Light Gray
Cyan
Purple
Blue
Brown
Green
Red
Black

Wool is widely used for decoration, pixel art, adventure maps and building projects. Because wool burns, it's a poor main building material in survival. Consider concrete as a fireproof alternative.

Glass colors

Stained glass is a transparent decorative block that comes in all 16 colors. To craft it, surround a dye with 8 blocks of regular glass in the crafting grid (3x3, dye in the center). One recipe gives you 8 blocks of stained glass.

Stained glass panes

Stained glass panes are crafted from 6 blocks of stained glass arranged in two rows of 3 in the crafting grid. The recipe gives 16 panes. You can also dye regular glass panes: 8 panes + 1 dye = 8 stained glass panes.

Uses for colored glass

  • Windows and stained glass: combining many colors creates a stained-glass effect, ideal for churches and historic buildings
  • Beacons: stained glass placed above a beacon changes the color of its beam. You can mix colors by stacking glass of different colors one above the other
  • Aquariums: stained glass gives the water a colored tint
Tip: To change the color of a beacon's beam, place stained glass (or stained glass panes) above the beacon block. You can stack two different colors to get a mix, for example red + yellow glass gives an orange beam.

Concrete colors

Concrete is one of the most popular building materials in Minecraft, valued for its vivid, saturated colors and smooth, grain-free texture. Compared with wool, concrete has more intense colors and, most importantly, it doesn't burn.

How to make concrete

Making concrete takes two steps:

  1. Craft concrete powder: 4 gravel + 4 sand + 1 dye = 8 pieces of concrete powder in the color you want
  2. Harden the powder: put the concrete powder in contact with water (still or flowing water both work). The powder turns into a full block of concrete right away. Rain doesn't trigger the process: it has to be a water block.

Concrete colors compared with wool

White
#F9FFFE
Orange
#F9801D
Magenta
#C74EBD
Light Blue
#3AB3DA
Yellow
#FED83D
Lime
#80C71F
Pink
#F38BAA
Gray
#474F52
Light Gray
#9D9D97
Cyan
#169C9C
Purple
#8932B8
Blue
#3C44AA
Brown
#835432
Green
#5E7C16
Red
#B02E26
Black
#1D1D21
Tip: Build an automatic concrete farm to get large amounts of concrete. You can read more about farm automation in our guide.

Terracotta colors

Terracotta, formerly known as hardened clay, comes in 16 colors plus an undyed version. It has distinctly muted, earthy shades that suit builds in desert, medieval and rustic styles.

How to make terracotta

  1. Plain terracotta: smelt a block of clay in a furnace. Clay is found on the floors of rivers and oceans.
  2. Colored terracotta: surround 1 dye with 8 blocks of terracotta in the middle of a 3x3 grid. You get 8 dyed blocks.

Glazed terracotta

Smelt colored terracotta in a furnace and you get glazed terracotta, a decorative block with unique, ornate patterns. Each of the 16 colors has its own pattern. Glazed terracotta also has a handy property: it rotates depending on the direction you place it, which lets you build detailed mosaics.

Natural terracotta generates in large amounts in the badlands biome (mesa). There you'll find layers of brown, orange, yellow, white, light gray, red and undyed terracotta. It's the best place to gather large amounts of this material.

Bed colors

Beds can be crafted in each of the 16 colors. A bed's color depends on the wool you use to craft it: 3 blocks of wool of the same color + 3 planks (any wood) = a bed in that color.

Uses for colored beds

  • Decoration: in bedrooms, hotels and multiplayer bases
  • Marking zones: on PvP servers, colored beds show team membership (for example in Bed Wars)
  • Explosions: beds explode in the Nether and the End. Some players use this mechanic to kill the Ender Dragon quickly, a trick known as "bed bombing"

Candle colors

Candles were added in update 1.17 (Caves & Cliffs Part I). You can craft them from honeycomb + string, then dye them. Candles come in all 16 colors plus an undyed (wax-colored) version.

How to dye candles

Put an undyed candle and a dye in the crafting grid. Unlike wool, you can't change the color of a candle that's already dyed. You have to craft a new one.

Candle mechanics

  • You can place 1 to 4 candles of the same color on a single block
  • Each extra candle raises the light level: 1 candle gives 3, 2 give 6, 3 give 9 and 4 give 12
  • Light a candle with flint and steel or a fire charge, and put it out with your hand or with water
  • You can place a candle on a cake, which makes a decorative birthday cake

Banner colors

Banners are decorative blocks you can customize with dyes and patterns at a loom. Every banner starts as one of 16 base colors, and then you can add up to 6 pattern layers in Java Edition, each of which can have its own color.

How to make a banner

6 wool of the same color + 1 stick = a banner in that color. In the crafting grid, put 3 wool in the top row, 3 in the middle row and the stick in the bottom center.

Banner patterns

At a loom, place the banner, a dye and, optionally, a banner pattern item. There are over 40 patterns, including:

  • Vertical, horizontal and diagonal stripes
  • Gradients (top and bottom)
  • Rhombuses, triangles and crosses
  • Borders and frames
  • Special patterns (skull, flower; these need a banner pattern item)

Banners are the key to customizing shields. Just combine a banner with a shield in the crafting grid and the shield takes on the banner's pattern.

Tip: At a loom you need only 1 dye per layer, instead of the costly manual crafting with many dyes. It's by far the most economical way to make complex patterns.

Frequently asked questions (FAQ)

How many colors are there in Minecraft?

Minecraft has 16 dye colors: white, orange, magenta, light blue, yellow, lime, pink, gray, light gray, cyan, purple, blue, brown, green, red and black. You can use these colors to dye wool, glass, concrete, terracotta, beds, candles, banners and leather armor.

How do I use color codes in Minecraft chat?

Put the § (section sign) before the color code, for example §a for green text. On servers with plugins you usually type & instead of §. In Java Edition 1.16 and newer you can also use hex codes in the format #RRGGBB, which gives you access to 16 million colors.

How do I make dye in Minecraft?

Most dyes come from flowers placed in the crafting grid. A poppy gives red dye, a dandelion gives yellow dye, and lapis lazuli works as blue dye. Green dye comes from smelting a cactus in a furnace. You can also mix dyes, for example red + yellow = orange.

How do I dye leather armor in Minecraft?

In Java Edition, put a piece of leather armor and one or more dyes together in the crafting grid. In Bedrock Edition, use a cauldron filled with water: add a dye to the water, then click the cauldron with the armor. You can mix colors by adding more dyes, which gives over 12 million unique colors.

How do I make colored concrete in Minecraft?

Craft concrete powder from 4 gravel, 4 sand and 1 dye in the color you want. Then put the powder in contact with water and it turns into a full block of concrete. Concrete has vivid, saturated colors and is a very popular building material.

How do I use hex color codes in Minecraft?

Hex codes work in Minecraft Java 1.16 and newer. In the /tellraw command, use the "color" field with a hex value, for example "color":"#FF6600". On servers, popular plugins support the format &#FF6600 or MiniMessage <color:#FF6600>.

See also