Skip to content
Back to Homepage

List of Color Codes

Color codes let you change the color of text in Minecraft, such as in chat or in your server’s MOTD (Message of the Day). This guide lists every color code available in Minecraft, with its chat code, MOTD code, and color values.

Color Chat Code MOTD Code Decimal Hexadecimal
Dark Red §4 \u00A74 11141120 AA0000
Red §c \u00A7c 16733525 FF5555
Gold §6 \u00A76 16755200 FFAA00
Yellow §e \u00A7e 16777045 FFFF55
Dark Green §2 \u00A72 43520 00AA00
Green §a \u00A7a 5635925 55FF55
Aqua §b \u00A7b 5636095 55FFFF
Dark Aqua §3 \u00A73 43690 00AAAA
Dark Blue §1 \u00A71 170 0000AA
Blue §9 \u00A79 5592575 5555FF
Light Purple §d \u00A7d 16733695 FF55FF
Dark Purple §5 \u00A75 11141290 AA00AA
White §f \u00A7f 16777215 FFFFFF
Gray §7 \u00A77 11184810 AAAAAA
Dark Gray §8 \u00A78 5592405 555555
Black §0 \u00A70 0 000000
  • Color is the name of the color.
  • Chat Code is the internal code for the color in chat.
  • MOTD Code is the internal code for the color in the Message of the Day.
  • Decimal is the internal decimal value of the color.
  • Hexadecimal is the internal hexadecimal value of the color.

Put the color code before the text you want to color. The color applies to everything after it until you use another color code or a reset code.

For example, in chat:

§cThis text is red §aand this text is green

In the server’s MOTD, use the MOTD Code instead of the § symbol:

motd=\u00A7cWelcome \u00A7ato the server!

This shows “Welcome” in red, followed by “to the server!” in green.

You can combine color codes with format codes such as bold and italic. Place the color code first, then the format code. For example, §c§lRed and bold. See our Minecraft format codes guide for the full list of format codes.