Dye

From Minecraft Wiki
(Redirected from Dyes)
Jump to: navigation, search
Dyes
Black Dye.pngRed Dye.pngGreen Dye.pngBrown Dye.pngBlue Dye.pngPurple Dye.pngCyan Dye.pngLight Gray Dye.pngGray Dye.pngPink Dye.pngLime Dye.pngYellow Dye.pngLight Blue Dye.pngMagenta Dye.pngOrange Dye.pngWhite Dye.pngInk Sac.pngCocoa Beans.pngLapis Lazuli.pngBone Meal.png
Type

Items

Rarity

Common

Renewable

Yes

Stackable

Yes (64)

Data value

dec: 351 hex: 15F bin: 101011111

Namespaced ID

See § Data values

Dyes are a set of 20[1] items (16 in Java Edition) used to change the color of wool, leather armor, terracotta, certain mobs, the patterns on banners, shulker boxes, glass, shulkers, concrete powder, and beds.

Obtaining[edit]

Most dyes are produced by crafting various flowers or other items, or by combining other dyes.

Crafting

[edit]

Smelting[edit]

Name Ingredients Smelting recipe
Green Dye Cactus +
Any fuel


Lapis Lazuli Lapis Lazuli Ore +
Any fuel


Lime Dye Sea Pickle +
Any fuel


Trading[edit]

Wandering traders can sell 3 dyes for an emerald.

In Bedrock Edition, wandering traders can sell 3 lapis lazuli, bone meal, cocoa beans, or ink sacs for one emerald.

Lapis lazuli can also be traded in amounts of 1–2 per emerald from cleric villagers.‌[Legacy Console Edition only]

Apprentice-level cleric villagers sell one lapis lazuli per emerald.‌[Java and Bedrock editions only]

Other[edit]

Blue dye can be crafted from lapis lazuli, which is mined from ores underground in amounts of 4–8 per block. Lapis lazuli can be found in 25.4% of village temple chests in stacks of 1–4, in 61.5% of shipwreck treasure chests in stacks of 1–10, and in 16.9% of chest minecarts in Mineshafts in stacks of 4–9.

Brown dye can be crafted from cocoa beans, which are harvested from cocoa pods in amounts of 1–3 per fully grown pod. A pod that is not fully grown will only yield one cocoa bean. In Bedrock Edition cocoa beans can be found in 50.0% of bonus chests in stacks of 1–2.

Black dye can be crafted from ink sacs, which can be dropped when a squid dies, in amounts of 1–3 per squid. Using the Looting enchantment can increase this amount. In Bedrock Edition ink sacs can be found in 40.0% of stronghold storeroom chests in stacks of 1–3.

Ink sacs can also be created using 1 iron, 1 sulfur, and 4 oxygen in the compound creator[Bedrock and Education editions only].

Green dye can be found in 14.3% of desert village house chests in stacks of 1.

Yellow dye can be found in 20.8% of village mason chests in stacks of 1.

Usage[edit]

Dyeing wool and mobs[edit]

Players can dye wool by placing white wool and a dye in a crafting grid.

Ingredients Crafting recipe
White Wool +
Matching Dye


Dyes can be used on sheep to change the color of the wool. After shearing a colored sheep, they will drop the corresponding color of the wool, and they will also keep the color of their wool when it regenerates. Breeding colored sheep will result the baby sheep's color to be one of the parental sheep's color, or a resulting color of the combination of both parental sheep's color. Note that the color combining follows the same rules that dyes use – red and yellow sheep will produce an orange lamb, but a blue and yellow sheep cannot create a green lamb. The unlimited reproduction of colored sheep makes dyeing and shearing sheep infinitely more efficient than just dyeing wool directly.

Dye can also be used on tamed wolves. Using a dye on a tamed wolf will change the color of the wolf's collar (which is red by default) to the color of the dye.

Dye can also be used on shulkers to change the color of the shell.‌[Bedrock Edition only]

Dye can also be used the same way as tamed wolves on tamed ocelots or cats. Using a dye on a tamed cat will change the color of its collar (which is also set to red by default) to the corresponding dye.

Dyeing terracotta[edit]

Terracotta can be dyed by placing 8 blocks around a dye on a crafting table.

Ingredients Crafting recipe
Terracotta +
Matching Dye

Staining glass[edit]

Stained glass can be stained by placing 8 blocks of glass around a dye on a crafting table. Just like regular glass, stained glass can be crafted into stained glass panes. The recipe for this is the same as with regular glass.

Ingredients Crafting recipe
Glass +
Matching Dye

Dyeing armor[edit]

A graph showing all combinations of two dyes on a tunic.

Leather armor can be dyed by:

There are a possible combination of 12,326,391 colors, as it is possible to put more than one dye on the crafting bench alongside the leather armor. Armor can be dyed multiple times with previous colors affecting the final outcome. Colored armor can be reverted to their original color using a cauldron with undyed water.

The game has a specific formula for calculating the color of dyed armor: each color, in the RGB color model, has a red value, green value, and blue value. For each dye in the crafting grid, and the armor itself (if it is already dyed), the red, green, and blue values are added to running totals. In addition, a running total of the highest value (be it red, green, or blue) is also kept. After this, each total is divided by the number of colors used. This effectively produces the average red, green, blue, and maximum values. The maximum value of the average RGB values is also calculated. Finally, each average RGB value is multiplied by the average maximum value, and divided by the maximum of the average RGB values. The modified average RGB values are then used as the final color. This procedure can be summed up with the following equations:

for each color (all "total" variables start at 0 before counting):
 totalRed = totalRed + redValue
 totalGreen = totalGreen + greenValue
 totalBlue = totalBlue + blueValue
 totalMaximum = totalMaximum + max(red, green, blue)
 numberOfColors = numberOfColors + 1

averageRed = totalRed / numberOfColors
averageGreen = totalGreen / numberOfColors
averageBlue = totalBlue / numberOfColors
averageMaximum = totalMaximum / numberOfColors

maximumOfAverage = max(averageRed, averageGreen, averageBlue)
gainFactor = averageMaximum / maximumOfAverage

resultRed = averageRed * gainFactor
resultGreen = averageGreen * gainFactor
resultBlue = averageBlue * gainFactor

Due to the way this formula works, the resulting color will never be darker than the average of the input colors, and will often be lighter and more saturated. Of course, the resulting color will never be lighter or more saturated than the lightest or most saturated input color. In addition, this formula will never create an RGB value higher than 255 (which would be invalid in the 8 bit RGB color model).

If leather armor is renamed on an anvil, it will retain its name when dyed or undyed.

Dyeing firework stars[edit]

A firework star can have a single color or a combination of up to eight colors when crafted with dyes. Adding one or more dyes to a crafted firework star will add a "fade to color" effect to it, overwriting any existing fade colors.

Name Ingredients Crafting recipe
Firework Star Gunpowder +
Any Dye (1–8) +
Extra ingredient (optional)


Firework Star Matching Firework Star +
Any Dye


[edit]

Dyes are used in most banner patterns to determine which pattern and what color is used.

Dyeing shulker boxes[edit]

Shulker boxes are generated in a light shade of purple (like the purpur block), but can be dyed any color. They can also be re-dyed as often as desired.

Name Ingredients Crafting recipe
Shulker Box Any Shulker Box +
Matching Dye


Creating concrete powder[edit]

Dyes can also be used to craft concrete powder, which can then be set into their respective concrete blocks (they cannot be dyed directly).

Ingredients Crafting recipe
Sand +
Gravel +
Matching Dye

Creating balloons[edit]

Dye can be used to craft balloons.‌[Bedrock and Education editions only]

Ingredients Crafting recipe
Latex +
Matching Dye +
Helium +
Lead

Creating glow sticks[edit]

Dye can also be used to craft glow sticks.‌[Bedrock and Education editions only]

Ingredients Crafting recipe
Polyethylene +
Hydrogen Peroxide +
Matching Dye +
Luminol

Dyeing beds[edit]

Players can dye beds by placing a white bed and any color dye in a crafting grid. Only white beds can be dyed.

Ingredients Crafting recipe
White Bed +
Matching Dye


Dyeing water inside cauldrons[edit]

Water can be dyed in a cauldron by holding any dye in the hand and pressing use on a cauldron filled with water.‌[Bedrock and Legacy Console editions only]

Signs[edit]

Dye can be used on a sign to change the text color.‌[Java Edition only]

Trading[edit]

12 dye can be sold to shepherd villager.

Other uses[edit]

Dyes have other uses specific to those colors‌[Bedrock and Legacy Console editions only]; see their separate articles for details.

These items all have dye color equivalents.

Colors[edit]

Primary[edit]

These primary dyes are created only from ingredients spawned naturally in a world.

Name Source Color Notes
Red Dye Poppy
Rose Bush
Red Tulip
Beetroot
Red Made by placing a poppy, red tulip, beetroot, or rose bush on a crafting grid.
Yellow Dye Dandelion
Sunflower
Yellow Made by placing a dandelion or sunflower on a crafting grid.
Green Dye Cactus Green Made by cooking cactus in a furnace.
Black Dye Ink Sac
Wither Rose
Black Made by placing an ink sac or wither rose on a crafting grid.
Brown Dye Cocoa Beans Brown Made by placing cocoa beans on a crafting grid.
Blue Dye Lapis Lazuli
Cornflower
Blue Made by placing a lapis lazuli or cornflower on a crafting grid.
White Dye Bone Meal
Lily of the Valley
White Made by placing a bone meal or lily of the valley on a crafting grid.

Quasi-Primary[edit]

These dyes can be created from a single ingredient spawned naturally in a world, or by combining other dyes.

Name Source Color Obtaining Naturally Crafting
Orange Dye Orange Tulip Orange Made by placing an orange tulip on a crafting grid. +
Light Blue Dye Blue Orchid Light Blue Made by placing a blue orchid on a crafting grid. / + /
Magenta Dye Lilac
Allium
Magenta Made by placing a lilac or allium on a crafting grid. +

OR

2 + 1/ + 1/

Pink Dye Peony
Pink Tulip
Pink Made by placing a peony or pink tulip on a crafting grid. + /
Light Gray Dye Azure Bluet
Oxeye Daisy
White Tulip
Light Gray Made by placing an azure bluet, oxeye daisy, or white tulip on a crafting grid. / +

OR

2/ + 1/

Lime Dye Sea Pickle Lime Green Made by smelting a sea pickle in a furnace. + /

Secondary[edit]

Secondary dyes are created by combining primary dyes together.

Name Source Color
Cyan Dye + / Cyan
Purple Dye + / Purple
Gray Dye / + / Gray

Data values[edit]

ID[edit]

Java Edition:

Name Namespaced ID
Red Dye red_dye
Green Dye green_dye
Purple Dye purple_dye
Cyan Dye cyan_dye
Light Gray Dye light_gray_dye
Gray Dye gray_dye
Pink Dye pink_dye
Lime Dye lime_dye
Yellow Dye yellow_dye
Light Blue Dye light_blue_dye
Magenta Dye magenta_dye
Orange Dye orange_dye
Black Dye black_dye
Brown Dye brown_dye
Blue Dye blue_dye
White Dye white_dye

Bedrock Edition:

Name Namespaced ID Numeric ID
Dye dye 351

Item data[edit]

The color of a dye item depends on its metadata. The "color codes" are used to determine the color imparted on sheep, wolf collars, and dyed leather armor. The hex value is shown in the extended tooltips of dyed leather armor; however, to set the color using an NBT data tag in a command, the decimal value must be used instead.

Icon Data Description Color Code Sample
Dec Hex Dec Hex
0 0x0 Ink Sac 1908001 #1D1D21
1 0x1 Red Dye 11546150 #B02E26
2 0x2 Green Dye 6192150 #5E7C16
3 0x3 Cocoa Beans 8606770 #835432
4 0x4 Lapis Lazuli 3949738 #3C44AA
5 0x5 Purple Dye 8991416 #8932B8
6 0x6 Cyan Dye 1481884 #169C9C
7 0x7 Light Gray Dye 10329495 #9D9D97
8 0x8 Gray Dye 4673362 #474F52
9 0x9 Pink Dye 15961002 #F38BAA
10 0xA Lime Dye 8439583 #80C71F
11 0xB Yellow Dye 16701501 #FED83D
12 0xC Light Blue Dye 3847130 #3AB3DA
13 0xD Magenta Dye 13061821 #C74EBD
14 0xE Orange Dye 16351261 #F9801D
15 0xF Bone Meal 16383998 #F9FFFE
16 0x10 Black Dye 1908001 #1D1D21
17 0x11 Brown Dye 8606770 #835432
18 0x12 Blue Dye 3949738 #3C44AA
19 0x13 White Dye 16383998 #F9FFFE

Achievements[edit]

Icon Achievement In-game description Actual requirements (if different) Availability Xbox points earned Trophy type (PS)
Xbox PS Bedrock Nintendo
Rainbow CollectionGather all 16 colors of wool.All the colors of wool do not have to be in the inventory at the same time, but must have been picked up by the player once.Xbox OneYesYesWii U, Switch30GSilver
Xbox 360Alt20G
Tie Dye OutfitDye all 4 unique pieces of leather armor.YesYesYesWii U, Switch15GBronze
Change of SheetsDye your bed a different colorYesYesNoWii U, Switch20GBronze

Video[edit]

History[edit]

Java Edition Beta
1.2Added dyes.
Java Edition
1.111w49aSheep will now have the ability to regrow their wool by eating grass. Dyed sheep will regrow wool in their new color.
?Bone meal texture changed; lowered one pixel.
1.4.212w34aAdded the ability to dye leather armor and wolf collars.
1.6.113w19aStained clay can now be crafted using dyes.
1.7.213w36aWith the addition of new flowers, many secondary and tertiary dyes are now primary dyes.
13w41aStained glass can now be crafted using dyes.
1.814w30aAdded banners, which can be dyed.
1.915w31aRose red can now be obtained from beetroot.
15w34aAdded shields, which can be dyed indirectly by applying a matching banner.
1.1116w39bDyes are now used to change the color of shulker boxes.
1.1217w06aDyes are now used to craft concrete powder.
17w15aDyes can now apply color to white beds.
1.1317w47aThe different data values for the dye ID have been split up into their own IDs.
1.1418w43aInk sacs, bone meal, cocoa beans and lapis lazuli are now no longer considered dyes.
Added black, white, brown and blue dyes.
"Rose Red", "Dandelion Yellow" and "Cactus Green" have now been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.
Glass panes and carpets can now be dyed.
Red Dye TextureUpdate.png Orange Dye TextureUpdate.png Yellow Dye TextureUpdate.png Green Dye TextureUpdate.png Lapis Lazuli TextureUpdate.png Light Gray Dye TextureUpdate.png Cyan Dye TextureUpdate.png Bone Meal TextureUpdate.png Ink Sac TextureUpdate.png Light Blue Dye TextureUpdate.png Purple Dye TextureUpdate.png Magenta Dye TextureUpdate.png Pink Dye TextureUpdate.png Lime Dye TextureUpdate.png Gray Dye TextureUpdate.png Cocoa Beans.png Changed the textures of red, orange, yellow, green, lapis lazuli, light gray, cyan, bone meal, ink sac, light blue, purple, magenta, pink, lime, gray dyes, and cocoa beans
18w44aThe color of the text on signs can now be changed with dye.
Pocket Edition Alpha
0.3.0Added dandelion yellow.
0.3.3Added bone meal.
0.4.0Added cactus green, cyan dye, lapis lazuli, light blue dye, lime dye, magenta dye, orange dye, pink dye and purple dye.
Added rose red, obtainable by smelting red mushrooms.
0.8.0build 3Ink sacs, cocoa beans, gray dye, and light gray dye are now available in the creative inventory.
Rose red can now be obtained from beetroots.
0.9.0build 1Cocoa beans can now be obtained from cocoa pods.
The cyan flower has now been removed and replaced with a new poppy flower that can be crafted into rose red.
build 3All new flowers can now be crafted into dyes. Because of this, many secondary and tertiary dyes are now primary dyes.
Gray dye and light gray dye can now be obtained in survival.
build 11Stained clay can now be crafted using dyes.
0.11.0build 1Ink sacs can now be obtained from squid.
Added the ability to dye wolf collars.
0.14.0?Cauldrons now used for leather dyeing, by applying a dye to a water-filled cauldron.
?As of 0.15.0 (possibly earlier), red mushrooms can now no longer be smelted to obtain rose red.
0.16.0?Cocoa beans can now no longer be crafted.
Pocket Edition
1.0.0alpha 0.17.0.1Added Dye button for sheep.
Added shulkers, which can be dyed.
Added stained glass. It cannot be crafted, but purple glass generates in end cities.
1.1.0alpha 1.1.0.0Dyes can now apply color to a white beds.
Dyes are now used to craft concrete powder.
The color palette has now been changed.
Bedrock Edition
1.2.0beta 1.2.0.2Dyes can now be used for banner crafting.
Dyes can now be used to craft firework stars.
Stained glass is now craftable, using dyes.
1.4.0beta 1.2.20.1Lime dye can now be obtained from smelting sea pickles.
Dyes can now used to craft glow sticks and balloons.
1.8.0beta 1.8.0.8Dyes can now be used to dye cat collars.
beta 1.8.0.10Added white, blue, brown and black dyes, which can be crafted from lapis lazuli, bone meal, cocoa beans and ink sacs.
"Rose Red", "Dandelion Yellow" and "Cactus Green" have now been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.
1.9.0beta 1.9.0.0Blue and white dye can now be obtained from cornflowers and lily of the valleys.
1.10.0beta 1.10.0.3Glass panes and carpets can now be dyed.
Only a single dye is now required to apply a banner pattern in a loom.
Various dyes except black dye, white dye, brown dye, and blue dye are now sold by wandering traders.
Red Dye TextureUpdate.png Orange Dye TextureUpdate.png Yellow Dye TextureUpdate.png Green Dye TextureUpdate.png Lapis Lazuli TextureUpdate.png Light Gray Dye TextureUpdate.png Cyan Dye TextureUpdate.png Bone Meal TextureUpdate.png Ink Sac TextureUpdate.png Light Blue Dye TextureUpdate.png Purple Dye TextureUpdate.png Magenta Dye TextureUpdate.png Pink Dye TextureUpdate.png Lime Dye TextureUpdate.png Gray Dye TextureUpdate.png Cocoa Beans.png Changed the textures of red, orange, yellow, green, lapis lazuli, light gray, cyan, bone meal, ink sac, light blue, purple, magenta, pink, lime, gray dyes, and cocoa beans.
1.11.0beta 1.11.0.4Dye can now be sold to shepherd villagers.
Legacy Console Edition
TU1CU11.0Patch 1Patch s1Added dyes.
  PS4.svg 1.83  Added white, blue, brown and black dyes, which can crafted from lapis lazuli, bone meal, cocoa beans and ink sacs.
"Rose Red", "Dandelion Yellow" and "Cactus Green" have now been renamed to "Red Dye", "Yellow Dye" and "Green Dye", respectively.

Trivia[edit]

  • Players can obtain each one of every color with 1 cocoa bean, 2 yellow dye and ink sacs, 3 green dye, 4 lapis lazuli and red dyes and 6 bone meal (2 bones).
  • The dyed sheep breeding behavior mirrors Lamarck's theory, in which the organisms evolve inheriting the external changes and adaptations of the previous generation, transmitting them to their offspring.
  • In Bedrock Edition, tertiary colors, along with their regular crafting recipes, can be crafted with primary colors. E.g.: Magenta can be crafted with one rose red and two bone meals.
  • The colors of the dyes match the chat colors in color codes except for brown (dye only), light aqua, and gold (color codes only).

References[edit]