Minecraft Color Codes & Formatting Codes

Below is a list of all 16 Minecraft color codes that work in both the Java and Bedrock Editions, an additional list of 11 color codes for the Bedrock Edition, and codes for formatting text in both editions.

Minecraft Color Codes

The table below shows a searchable list of all Minecraft color codes that work for both the Java Edition and Bedrock Edition of Minecraft.

ColorNameChat CodeMOTD CodeHEX
black
§0
\u00A70
#000000
dark_blue
§1
\u00A71
#0000AA
dark_green
§2
\u00A72
#00AA00
dark_aqua
§3
\u00A73
#00AAAA
dark_red
§4
\u00A74
#AA0000
dark_purple
§5
\u00A75
#AA00AA
gold
§6
\u00A76
#FFAA00
gray
§7
\u00A77
#AAAAAA
dark_gray
§8
\u00A78
#555555
blue
§9
\u00A79
#5555FF
green
§a
\u00A7a
#55FF55
aqua
§b
\u00A7b
#55FFFF
red
§c
\u00A7c
#FF5555
light_purple
§d
\u00A7d
#FF55FF
yellow
§e
\u00A7e
#FFFF55
white
§f
\u00A7f
#FFFFFF

Minecraft Bedrock Edition Only Color Codes

In addition to the color codes above that work in both the Java and Bedrock Edition of Minecraft, the following table shows color codes that only work in the Bedrock Edition.

ColorNameChat CodeHEX
minecoin_gold
§g
#DDD605
material_quartz
§h
#E3D4D1
material_iron
§i
#CECACA
material_netherite
§j
#443A3B
material_redstone
§m
#971607
material_copper
§n
#B4684D
material_gold
§p
#DEB12D
material_emerald
§q
#47A036
material_diamond
§s
#2CBAA8
material_lapis
§t
#21497B
material_amethyst
§u
#9A5CC6

Minecraft Formatting Codes

The table below shows codes for formatting text in Minecraft.

NameChat CodeMOTD CodeVersion
Obfuscated
§k
\u00A7k
JE & BE
Bold
§l
\u00A7l
JE & BE
Strikethrough
§m
\u00A7m
JE
Underline
§n
\u00A7n
JE
Italic
§o
\u00A7o
JE & BE
Reset Default Color
§r
\u00A7r
JE & BE