Color Picker
Pick a color and instantly get Hex, RGB, and HSL values. Useful for Minecraft UI/resource pack colors, thumbnails, and web design.
Tips
Using colors in Minecraft JSON/UI
Besides Hex (e.g., #FFAA00), Minecraft commands often expect a single
decimal integer for color (the Hex #RRGGBB packed as base-10).
The decimal input field above automatically converts your color:
#FFAA00 → 16755200
Tip: some contexts support Hex or ARGB; always check the spec of the field you're editing.
Dyed Leather Armor Commands (Java Edition):
Use the decimal color value to give colored leather armor. Replace BASE_ITEM with leather_helmet, leather_chestplate, leather_leggings, or leather_boots, and NUMBER with your CustomModelData value. The DEC_COLOR value is automatically updated based on the color selected above.
1.14 – 1.20.4:
/give @s BASE_ITEM{CustomModelData:NUMBER,display:{color:DEC_COLOR}}
1.20.5 – 1.21.3:
/give @s BASE_ITEM[custom_model_data=NUMBER,dyed_color={rgb:DEC_COLOR}]
1.21.4:
/give @s BASE_ITEM[custom_model_data={floats:[NUMBER]},dyed_color={rgb:DEC_COLOR}]
1.21.5+:
/give @s BASE_ITEM[custom_model_data={floats:[NUMBER]},dyed_color=DEC_COLOR]
Tellraw command with custom color
Use the /tellraw command to send colored messages in chat. The color is automatically updated based on your selection above.
Java Edition (1.16+):
/tellraw @a {"text":"Hello World!","color":"#3789AD"}
With formatting:
/tellraw @a {"text":"Bold Message!","color":"#3789AD","bold":true}
Replace @a with @p (nearest player), @s (self), or a player name to target specific players.
Minecraft color codes (§) quick reference
Legacy formatting codes set colors using the section sign § followed by a digit/letter. Common mappings:
§0black =#000000§1dark_blue =#0000AA§2dark_green =#00AA00§3dark_aqua =#00AAAA§4dark_red =#AA0000§5dark_purple =#AA00AA§6gold =#FFAA00§7gray =#AAAAAA§8dark_gray =#555555§9blue =#5555FF§agreen =#55FF55§baqua =#55FFFF§cred =#FF5555§dlight_purple =#FF55FF§eyellow =#FFFF55§fwhite =#FFFFFF§gminecoin_gold =#DDD605(Bedrock)