Minecraft Colour Codes & Formatting Codes

All Minecraft colour and formatting codes with their names, hex values, shadow colours and live previews, plus the extra Bedrock material colours.

  • Live preview
  • Hex values
  • Java & Bedrock

Every colour and formatting code Minecraft understands, with its name for JSON text, hex colour and shadow colour. Click any code to copy it.

Using the Codes

  • In server.properties, signs and books edited by commands, the codes start with §. Most plugins use & instead and convert it for you.
  • In JSON text (/tellraw, books, item names) use the colour's name, like "color":"gold", or any hex colour like "color":"#ff8800" (1.16+).
  • A colour code resets bold, italic and the other formats, so put formats after the colour.
  • Make whole messages with the MOTD Generator or Gradient Text Generator.

More reference

Popular tools