Pixel art illustration of a small pile of medium gray dye powder with scattered grains
Minecraft Java Item ID

Gray Dye ID

Gray dye is a coloring item used on wool, terracotta, leather armor, and more. It comes from mixing black and white dye.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:gray_dye

Gray Dye Item Facts

CategoryDyes
Maximum stack64
Available inSurvival and Creative
Shared ID, data value 8 (Java 1.12.2 and earlier)351

Shared ID, data value 8 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Gray Dye

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:gray_dye 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 351 1

Give command syntax by version

Java 1.13+
/give @p minecraft:gray_dye 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 351 1 8
Numerical ID + data value
Bedrock Edition
/give @p minecraft:gray_dye 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Gray Dye

Crafting Recipe

Combine 1 black dye and 1 white dye in any arrangement on a crafting table — makes 2 × Gray Dye.

Combine 1 closed eyeblossom in any arrangement on a crafting table — makes 1 × Gray Dye.

Prefer commands? Jump back to the give command matrix above to get Gray Dye instantly.

What Can You Craft With Gray Dye?

Gray Dye is a crafting ingredient in 10 reviewed recipes:

Gray Dye Command Examples

  • Give 1 to nearest player: /give @p minecraft:gray_dye 1
  • Give 1 to yourself: /give @s minecraft:gray_dye 1
  • Give to a specific player: /give PlayerName minecraft:gray_dye 1
  • Clear from inventory: /clear @p minecraft:gray_dye

Gray Dye FAQ

What is the item ID for Gray Dye?

The item ID for Gray Dye is minecraft:gray_dye. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Gray Dye?

Gray Dye has the historical numerical ID 351 with data value 8, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:gray_dye instead.

How do I give myself Gray Dye in Minecraft?

Open the chat window and run /give @p minecraft:gray_dye 1 to give the nearest player one Gray Dye. Replace @p with a player name to target someone else.

How many Gray Dye can stack in one slot?

Gray Dye stacks up to 64 per inventory slot.

How do you craft Gray Dye?

Gray Dye is crafted on a crafting table with 1 black dye and 1 white dye, which yields 2 Gray Dye.

What can you craft with Gray Dye?

Gray Dye is used to craft Gray Wool, Gray Terracotta, Gray Carpet, Gray Stained Glass, and 6 more recipes.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Dyes

Item ID: minecraft:black_dye
Item ID: minecraft:blue_dye
Item ID: minecraft:brown_dye
Item ID: minecraft:cyan_dye
Item ID: minecraft:green_dye
Item ID: minecraft:light_blue_dye
Item ID: minecraft:light_gray_dye
Item ID: minecraft:lime_dye