Free text tool
Minecraft Color Codes & MOTD Generator
Write coloured Minecraft text with & codes, see it live on a dark preview, and copy it in the format you need: § text, a server.properties MOTD line or a /tellraw command. Every code and hex value is listed below.
- 16 colours + 6 formats
- MOTD, § text and /tellraw
- Bedrock-only colours listed
Text editor
Use & followed by a code, e.g. &6 for gold or &l for bold. Press Enter for a second line (a server list MOTD shows two).
Insert a colour
Insert a format
Copy it
§6§lCartoVoxel §r§7- §aReal cities in Minecraft §bJava §7& §dBedrock §7worlds from any place
motd=\u00A76\u00A7lCartoVoxel \u00A7r\u00A77- \u00A7aReal cities in Minecraft\n\u00A7bJava \u00A77& \u00A7dBedrock \u00A77worlds from any place
/tellraw @a ["",{"text":"CartoVoxel ","color":"gold","bold":true},{"text":"- ","color":"gray"},{"text":"Real cities in Minecraft\n","color":"green"},{"text":"Java ","color":"aqua"},{"text":"& ","color":"gray"},{"text":"Bedrock ","color":"light_purple"},{"text":"worlds from any place","color":"gray"}]&6&lCartoVoxel &r&7- &aReal cities in Minecraft &bJava &7& &dBedrock &7worlds from any place
All Minecraft color codes
Java Edition colours with their § code, the name used in JSON text and the foreground hex value. Use & instead of § wherever a plugin converts it.
| Code | Name | Hex | Preview |
|---|---|---|---|
| §0 / &0 | Black black | #000000 | CartoVoxel |
| §1 / &1 | Dark Blue dark_blue | #0000AA | CartoVoxel |
| §2 / &2 | Dark Green dark_green | #00AA00 | CartoVoxel |
| §3 / &3 | Dark Aqua dark_aqua | #00AAAA | CartoVoxel |
| §4 / &4 | Dark Red dark_red | #AA0000 | CartoVoxel |
| §5 / &5 | Dark Purple dark_purple | #AA00AA | CartoVoxel |
| §6 / &6 | Gold gold | #FFAA00 | CartoVoxel |
| §7 / &7 | Gray gray | #AAAAAA | CartoVoxel |
| §8 / &8 | Dark Gray dark_gray | #555555 | CartoVoxel |
| §9 / &9 | Blue blue | #5555FF | CartoVoxel |
| §a / &a | Green green | #55FF55 | CartoVoxel |
| §b / &b | Aqua aqua | #55FFFF | CartoVoxel |
| §c / &c | Red red | #FF5555 | CartoVoxel |
| §d / &d | Light Purple light_purple | #FF55FF | CartoVoxel |
| §e / &e | Yellow yellow | #FFFF55 | CartoVoxel |
| §f / &f | White white | #FFFFFF | CartoVoxel |
Formatting codes
| Code | Effect |
|---|---|
| §k / &k | Obfuscated |
| §l / &l | Bold |
| §m / &m | StrikethroughJava only |
| §n / &n | UnderlineJava only |
| §o / &o | Italic |
| §r / &r | Reset |
Bedrock-only colour codes
Bedrock Edition adds these material colours. Because §m and §n are colours there, strikethrough and underline only work in Java Edition.
- §gminecoin_gold · #EFCE16
- §hmaterial_quartz · #D9CCB8
- §imaterial_iron · #A9B4B7
- §jmaterial_netherite · #8F727D
- §mmaterial_redstone · #EE222C
- §nmaterial_copper · #C87363
- §pmaterial_gold · #FFBF1E
- §qmaterial_emerald · #13A045
- §smaterial_diamond · #5FECFF
- §tmaterial_lapis · #577BFF
- §umaterial_amethyst · #B66CDD
- §vmaterial_resin · #FF6A00
- §wparty_blue · #8BB3FF
How to use it
Coloured text for chat, signs and your server list
- 01
Write your text with & codes
Type a colour or format code before the words it should change, or click the buttons to insert them. A colour code resets bold, italic and other formats, so add formats after the colour.
- 02
Check the preview
The dark preview shows the colours, bold, italic, underline, strikethrough and the flickering obfuscated effect as Minecraft draws them.
- 03
Copy the right format
Paste the MOTD line into server.properties and restart the server, run the /tellraw command in a Java world, or use the & version with a chat plugin.
FAQ
Minecraft color code questions
What is the difference between § and & codes?
Minecraft itself uses the section sign (§) followed by a code. The & version is a convention of server plugins such as EssentialsX, which turn &6 into §6 so players can type colours without the § key.
How do I make a coloured MOTD for my server?
Copy the server.properties line from this page, replace the existing motd= line in your server.properties file and restart the server. The § sign is written as \u00A7 so the file stays readable, and \n starts the second line.
Can I type colour codes in vanilla Java chat?
No. Java Edition does not let players type § in chat. Use /tellraw with JSON text in a world with commands enabled, or a server plugin that understands & codes.
Why don't strikethrough and underline work on Bedrock?
In Bedrock Edition §m and §n are colour codes (material_redstone and material_copper), so those two formats are Java-only. Bold, italic and obfuscated work in both editions.
Can I use hex colours?
In Java Edition JSON text, such as /tellraw, accepts "color": "#RRGGBB" for any colour. The § and & codes only cover the 16 named colours listed here.
What does &k do?
It obfuscates the text: every character keeps changing to a random one of the same width, which is often used for a mystery or glitch effect in server names.
