Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation
Lua logo
This template uses Module:CalcDye, a script written in Lua.

Outputs the color code of the result of mixing the Minecraft dyes.

Usage[]

{{CalcDye|red=1|white=2}}
Produces: E4BCB9

Parameters[]

Parameter Description
|white=

|orange=
|magenta=
|lightblue=
|yellow=
|lime=
|pink=
|gray=
|lightgray=
|cyan=
|purple=
|blue=
|brown=
|green=
|red=
|black=

Specifies the number of each dye as a numeric value.

It is optional, but one of them must be specified.

[view | edit | history | purge]The above documentation is transcluded from Template:CalcDye/doc.
Advertisement