Item colors

The following page lists colors which are applied to items in the game.
== Both editions ==
=== Spawn eggs ===
=== Potions ===
=== Item forms of colored blocks ===
The inventory color of the grass is calculated with and . The result is , We can get the color() for the middle of center(x:127, y:127) of the .
These are exclusive to Java Edition; Bedrock Edition instead has pre-colored textures used for items, distinct from the textures actually used for blocks in placed form (see Bedrock Edition history of textures/Items).
Grass Block.png|Grass Block
Oak Leaves.png|Oak Leaves
Birch Leaves.png|Birch Leaves
Spruce Leaves.png|Spruce Leaves
Jungle Leaves.png|Jungle Leaves
Acacia Leaves.png|Acacia Leaves
Dark Oak Leaves.png|Dark Oak Leaves
Grass (item).png|Grass
Fern (item).png|Fern
Tall Grass (item).png|Tall Grass
Large Fern (item).png|Large Fern
Vines (inventory).png|Vines
Lily Pad (item).png|Lily Pad
=== Maps ===
The color value used is -12173266, adding 224 returns a value of 4603950, giving a map color of . This color is overlaid onto filled map item icons only.
=== Dyed leather armor ===
The default color is (Dec: 10511680). This is used for leather horse armor, and leather helmet, chestplate, leggings, and boots. Dyes return the same colors as Dyes#Color values.
=== Firework stars ===
The default color is (Dec: 9079434). When dyes are applied, the final color is different from that used for leather armor. They do not match one to one. 
Below are the colors used for firework stars:
Description	Color Code	Color Code
Description	Dec 	Hex
White 	15790320 	
Light gray 	11250603 	
Gray 	4408131 	
Black 	1973019 	
Brown 	5320730 	
Red 	11743532 	
Orange 	15435844 	
Yellow 	14602026 	
Lime 	4312372 	
Green 	3887386 	
Cyan 	2651799 	
Light blue 	6719955 	
Blue 	2437522 	
Purple 	8073150 	
Magenta 	12801229 	
Pink 	14188952 	
== History ==