Skip to content
  • Toggle dark modeSwitch between light and darkAction
  • Open My KitEverything you made, saved in this browserAction
  • Open My KitEverything you made, saved in this browserAction

3 results

Menu

Minecraft Color Codes

By PickaxeKit Editorial Team · Updated 2026-11-09

Minecraft has 16 colour codes (§0 to §f) and 6 formatting codes (§l bold, §o italic, §n underline, §m strikethrough, §k obfuscated, §r reset). Put the code right before the text it should change.

Colour codes

CodeColourHex/tellraw name
§0Black#000000black
§1Dark Blue#0000AAdark_blue
§2Dark Green#00AA00dark_green
§3Dark Aqua#00AAAAdark_aqua
§4Dark Red#AA0000dark_red
§5Dark Purple#AA00AAdark_purple
§6Gold#FFAA00gold
§7Gray#AAAAAAgray
§8Dark Gray#555555dark_gray
§9Blue#5555FFblue
§aGreen#55FF55green
§bAqua#55FFFFaqua
§cRed#FF5555red
§dLight Purple#FF55FFlight_purple
§eYellow#FFFF55yellow
§fWhite#FFFFFFwhite

Formatting codes

CodeEffect
§lBold
§oItalic
§nUnderline
§mStrikethrough
§kObfuscated (flickering random letters)
§rReset to normal

Tip: A colour code switches off bold and other formats, so write the colour first, then the format: §6§lGold bold.

Where the codes work

  • Server MOTD (Java): in server.properties, write § as \u00A7. The MOTD Generator does this for you.
  • Chat (Java): vanilla chat blocks the § symbol; use a /tellraw command with colour names instead.
  • Signs and anvils (Bedrock): type § codes directly.
  • Plugins: many server plugins accept & instead of §, for example &6.

Keep reading