Minecraft Color Text Generator & Colour Codes
Type your text, colour each part and add bold, italic or other formatting. The live preview shows how it looks in game, and you can copy it as § or & codes, hex colours, MiniMessage, JSON for commands or Bedrock format.
Your text
Each part can have its own colour and style. Add parts to change colour in the middle of a line.
Paste text that already has & or § codes
Minecraft colour codes
Minecraft has 16 named text colours. Each one has a single-character code that you write after the section sign (§) or, in most plugins, after an ampersand (&). In text components you use the colour name instead.
| Colour | Code | & code | Name in commands | Hex |
|---|---|---|---|---|
| Black | §0 | &0 | black | #000000 |
| Dark Blue | §1 | &1 | dark_blue | #0000AA |
| Dark Green | §2 | &2 | dark_green | #00AA00 |
| Dark Aqua | §3 | &3 | dark_aqua | #00AAAA |
| Dark Red | §4 | &4 | dark_red | #AA0000 |
| Dark Purple | §5 | &5 | dark_purple | #AA00AA |
| Gold | §6 | &6 | gold | #FFAA00 |
| Gray | §7 | &7 | gray | #AAAAAA |
| Dark Gray | §8 | &8 | dark_gray | #555555 |
| Blue | §9 | &9 | blue | #5555FF |
| Green | §a | &a | green | #55FF55 |
| Aqua | §b | &b | aqua | #55FFFF |
| Red | §c | &c | red | #FF5555 |
| Light Purple | §d | &d | light_purple | #FF55FF |
| Yellow | §e | &e | yellow | #FFFF55 |
| White | §f | &f | white | #FFFFFF |
Formatting codes
| Style | Code | & code | In text components |
|---|---|---|---|
| Bold | §l | &l | bold:true |
| Italic | §o | &o | italic:true |
| Underline | §n | &n | underlined:true |
§m | &m | strikethrough:true | |
| Obfuscated (scrambling letters) | §k | &k | obfuscated:true |
| Reset to normal | §r | &r | start a new part |
Order matters with codes: a colour code turns off bold, italic and the rest, so write the colour first and the style after it. §6§l gives bold gold text, but §l§6 gives plain gold.
Which format should I copy?
- § codes: for signs and books on Bedrock, world and item names in some editors, and
server.properties(where you write § as§; the MOTD generator does this for you). - & codes: for chat, scoreboard, hologram and rank plugins such as EssentialsX and LuckPerms prefixes.
- MiniMessage: for Paper and Velocity and plugins built on Adventure. It supports any hex colour, like
<#ff8800>. - Text component (1.21.5+): for commands in Java 26.3 such as /tellraw, /title and item names. Since 1.21.5 these are written in SNBT, without quotes around keys.
- JSON text (1.13 – 1.21.4): the same thing for older Java versions and many data pack tools.
- Bedrock rawtext: for
/tellrawand/titlerawon Bedrock Edition.
Building a whole chat message with clickable links? Use the tellraw generator.