ArdenHubMinecraft Tools & Generators
Text & Chat

Color Code Generator

Style Minecraft chat, item names, lore, signs and MOTDs with the classic section-sign (§) color and formatting codes. Type your message, click any swatch to insert a code, watch the live preview update, then copy the result in either & or § form.

Colors

Formatting

Live preview

Welcome to ArdenHub! Your Minecraft toolbox.

Output

&aWelcome to &6&lArdenHub&r&a!
&7Your Minecraft toolbox.

Tip: the & form works in most plugins (Essentials, LuckPerms). Use the § form in books, signs and server.properties.

How to use the color code generator

  1. Type or paste your message into the text box.
  2. Click a color swatch to insert its code (for example &a for green), then keep typing — everything after the code takes that color.
  3. Add formatting such as &l (bold) or &o (italic), and use &r to reset back to normal.
  4. Choose the & or § output style depending on where you are pasting the code, then hit Copy.

Full Minecraft color code chart

Minecraft has 16 built-in text colors, each mapped to a hex digit (09 and af). The table below lists every code alongside its exact hex value so you can match your palette elsewhere.

ColorNameCodeSectionHex
Black&0§0#000000
Dark Blue&1§1#0000AA
Dark Green&2§2#00AA00
Dark Aqua&3§3#00AAAA
Dark Red&4§4#AA0000
Dark Purple&5§5#AA00AA
Gold&6§6#FFAA00
Gray&7§7#AAAAAA
Dark Gray&8§8#555555
Blue&9§9#5555FF
Green&a§a#55FF55
Aqua&b§b#55FFFF
Red&c§c#FF5555
Light Purple&d§d#FF55FF
Yellow&e§e#FFFF55
White&f§f#FFFFFF

Formatting codes explained

  • &lBold: thickens the text.
  • &oItalic: slants the text.
  • &n — Underline.
  • &m — Strikethrough.
  • &k — Obfuscated: rapidly scrambles characters (great for "loading" or hidden text effects).
  • &r — Reset: clears all colors and styles that came before it.

Formatting stacks with color, so &c&l produces bold red text. Order matters in some contexts: apply the color first, then the style.

& codes vs § codes — which should I use?

Both forms represent the same thing. The ampersand (&) form is easier to type and is what most plugins expect — Essentials chat, LuckPerms prefixes, sign plugins and config files. The game itself uses the section sign (§, unicode U+00A7) internally, which is what you need in books, command output and server.properties.

Use the toggle in the tool to switch between them instantly. If a plugin shows the raw code instead of a color, it usually expects the opposite prefix.

Frequently Asked Questions

Why do my color codes show up as plain text with the & symbol?
That means the target (a plugin, sign or config) is not translating & codes. Switch to the § output form, or enable color-code translation in your plugin (many use a 'color: true' or per-message translateAlternateColorCodes setting).
How do I reset formatting partway through a line?
Insert &r (reset) where you want styling to stop. Everything after &r returns to default white with no bold, italic or other formatting until you add new codes.
Can I use these 16 colors in item names and lore?
Yes. Use the § form inside /give NBT or an anvil rename in creative. On servers, most naming plugins accept the & form directly.
What is the obfuscated (&k) code?
The &k code continuously randomizes each character while keeping the width, producing a scrambled 'magic' effect. It is popular for hidden spoilers, fake loading text and decorative headers.
Do I need hex colors instead of these codes?
The 16 codes are universal and work everywhere. If you want custom shades or smooth blends, use hex colors (1.16+) with our gradient text generator instead.

Related Minecraft Tools