PHICHMC Tools
Red Dye texture
Minecraft Text & Color ToolsSupported: Both Editions

Minecraft RGB Color Generator

Pick any RGB/HEX color to generate Minecraft leather armor decimal color integers, firework star values, chat hex codes, and closest dye matches.

Calculates the bit-shifted decimal integer (R << 16 | G << 8 | B) used in Minecraft NBT and commands.

#3B82F6
RGB(59, 130, 246)
NBT Decimal Color Integer3900150
Closest Vanilla Chat Color§9 (Blue)
/particle minecraft:dust{color:[0.231,0.510,0.965],scale:1.0} ~ ~1 ~
Your files are processed locally in your browser whenever supported. PHICHMC Tools does not require an account to use its tools.

How to Use Minecraft RGB Color Generator

  1. 01.Use the color picker, RGB sliders (0–255), or enter a 6-digit HEX code.
  2. 02.Inspect the calculated Decimal Integer color value, normalized 0..1 floats (for /particle dust), and closest vanilla chat color.
  3. 03.Copy any generated value or ready-to-use dyed leather armor /give command.

How It Works

Computes (R * 65536) + (G * 256) + B for NBT color integers, normalized floats for dust particles, and Euclidean distance to vanilla dyes.

Supported Formats & Outputs

  • • HEX (#RRGGBB)
  • • Decimal Integer (NBT)
  • • Normalized Float RGB (Particles)
  • • Chat Hex Codes

Common Questions about Minecraft RGB Color Generator

How does Minecraft calculate the single integer for dyed leather armor?

Minecraft packs Red, Green, and Blue (0–255) into a 24-bit integer using the formula: (Red << 16) + (Green << 8) + Blue.