In Minecraft, there are a number of built-in color codes and format codes that you can use in chat and game commands.

Color codes can be used to change the color of text in the game, assign team colors, and customize the color of dyed leather armor. Format codes can be used to modify the appearance of in-game text such as bold or italic.

Color
(Minecraft Name)

Chat Code

MOTD Code

Decimal

Hexadecimal

Dark Red
(dark_red)

§4

\u00A74

11141120

AA0000

Red
(red)

§c

\u00A7c

16733525

FF5555

Gold
(gold)

§6

\u00A76

16755200

FFAA00

Yellow
(yellow)

§e

\u00A7e

16777045

FFFF55

Dark Green
(dark_green)

§2

\u00A72

43520

00AA00

Green
(green)

§a

\u00A7a

5635925

55FF55

Aqua
(aqua)

§b

\u00A7b

5636095

55FFFF

Dark Aqua
(dark_aqua)

§3

\u00A73

43690

00AAAA

Dark Blue
(dark_blue)

§1

\u00A71

170

0000AA

Blue
(blue)

§9

\u00A79

5592575

5555FF

Light Purple
(light_purple)

§d

\u00A7d

16733695

FF55FF

Dark Purple
(dark_purple)

§5

\u00A75

11141290

AA00AA

White
(white)

§f

\u00A7f

16777215

FFFFFF

Gray
(gray)

§7

\u00A77

11184810

AAAAAA

Dark Gray
(dark_gray)

§8

\u00A78

5592405

555555

Black
(black)

§0

\u00A70

0

000000

Definitions

  • Color is the color name and (Minecraft Name) is the internal name for the color in Minecraft.

  • Chat Code is the internal code for the chat color in Minecraft.

  • MOTD Code is the internal code for the "Message Of The Day" color in Minecraft.

  • Decimal is the internal decimal value for the color in Minecraft.

  • Hexadecimal is the internal hexadecimal value for the color in Minecraft.

List of Format Codes

Here is a list of format codes that are available in Minecraft:

Description

Chat Code

MOTD Code

Obfuscated

§k

\u00A7k

Bold

§l

\u00A7l

Strikethrough

§m

\u00A7m

Underline

§n

\u00A7n

Italic

§o

\u00A7o

Reset the default color

§r

\u00A7r

Definitions

  • Description is the name of the format.

  • Chat Code is the internal code for this format in chat.

  • MOTD Code is the internal code for this format in the "Message Of The Day".