Reference
Color & Formatting Codes
Minecraft 1.21.8. Use these in signs, chat, /tellraw, item names, lore, world names, and more. As of 1.16, you can also use any hex color via §#RRGGBB. See the full reference table with &, name, and MOTD formats.
Colors
Black
#000000
§0Dark Blue
#0000AA
§1Dark Green
#00AA00
§2Dark Aqua
#00AAAA
§3Dark Red
#AA0000
§4Dark Purple
#AA00AA
§5Gold
#FFAA00
§6Gray
#AAAAAA
§7Dark Gray
#555555
§8Blue
#5555FF
§9Green
#55FF55
§aAqua
#55FFFF
§bRed
#FF5555
§cLight Purple
#FF55FF
§dYellow
#FFFF55
§eWhite
#FFFFFF
§fFormatting
Bold
Bold
§lItalic
Italic
§oUnderline
Underline
§nStrikethrough
Strikethrough
§mObfuscated
Obfuscated
§kReset
(resets all)
§rHex colors (1.16+)
Any 6-digit hex color works in /tellraw JSON, item components, or signs (with the §# shorthand).
Preview
§#FF8800Live composer
Type with § codes — preview updates as you type. Copy the encoded string for in-game use.
Hello world! 1.21
§6Hello §lworld!§r §c1.21