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:

#FFAA0016755200

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:

  • §0 black = #000000
  • §1 dark_blue = #0000AA
  • §2 dark_green = #00AA00
  • §3 dark_aqua = #00AAAA
  • §4 dark_red = #AA0000
  • §5 dark_purple = #AA00AA
  • §6 gold = #FFAA00
  • §7 gray = #AAAAAA
  • §8 dark_gray = #555555
  • §9 blue = #5555FF
  • §a green = #55FF55
  • §b aqua = #55FFFF
  • §c red = #FF5555
  • §d light_purple = #FF55FF
  • §e yellow = #FFFF55
  • §f white = #FFFFFF
  • §g minecoin_gold = #DDD605 (Bedrock)

Back to Tools