---
title: "Minecraft Color Codes, MOTD and Anvil Order | VulCode"
description: "Minecraft color codes (§ and &) for MOTDs and lore: type text, pick colors and copy the string. Plus the cheapest anvil order for enchantments."
url: "https://vulcode.com/en/tools/minecraft-color-codes"
lang: "en"
---

[Home](https://vulcode.com/en) [Resources](https://vulcode.com/en/resources) [Tools](https://vulcode.com/en/tools)

# Minecraft color codes and MOTD generator

Minecraft color codes (§ and &) for MOTDs and lore: type text, pick colors and copy the string. Plus the cheapest anvil order for enchantments.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

Color codes

Anvil and enchantments

Bold §l

Italic §o

Underline §n

Strikethrough §m

Obfuscated §k

Reset §r

Clear

Text with formatting codes Select a fragment to colour just that

Where you paste it

MOTD Command & Sign §

## How it looks in the game

## To paste

For server.properties: the § sign written as \u00A7.

- Text with codes
  `\u00A76\u00A7lMy Server \u00A78| \u00A7aOnline`
  Copy

Write some text.

Item

Enchantments

Search enchantments

3 of 34

Select all

Clear

Armour

Protection protection, I-IV

Fire Protection fire_protection, I-IV

Feather Falling feather_falling, I-IV

Blast Protection blast_protection, I-IV

Projectile Protection projectile_protection, I-IV

Thorns thorns, I-III

Respiration respiration, I-III

Depth Strider depth_strider, I-III

Aqua Affinity aqua_affinity, I

Melee weapons

Sharpness sharpness, I-V

Smite smite, I-V

Bane of Arthropods bane_of_arthropods, I-V

Knockback knockback, I-II

Fire Aspect fire_aspect, I-II

Looting looting, I-III

Sweeping Edge sweeping_edge, I-III

Tools

Efficiency efficiency, I-V

Silk Touch silk_touch, I

Fortune fortune, I-III

Bow

Power power, I-V

Punch punch, I-II

Flame flame, I

Infinity infinity, I

Crossbow

Multishot multishot, I

Piercing piercing, I-IV

Quick Charge quick_charge, I-III

Trident

Impaling impaling, I-V

Riptide riptide, I-III

Loyalty loyalty, I-III

Channeling channeling, I

Fishing rod

Luck of the Sea luck_of_the_sea, I-III

Lure lure, I-III

Any item

Unbreaking unbreaking, I-III

Mending mending, I

Nothing matches the search.

Enchantment levels

- **Protection** minecraft:protection
  Level: Protection
  I II III IV
  Remove

- **Fire Protection** minecraft:fire_protection
  Level: Fire Protection
  I II III IV
  Remove

- **Feather Falling** minecraft:feather_falling
  Level: Feather Falling
  I II III IV
  Remove

- **Blast Protection** minecraft:blast_protection
  Level: Blast Protection
  I II III IV
  Remove

- **Projectile Protection** minecraft:projectile_protection
  Level: Projectile Protection
  I II III IV
  Remove

- **Thorns** minecraft:thorns
  Level: Thorns
  I II III
  Remove

- **Respiration** minecraft:respiration
  Level: Respiration
  I II III
  Remove

- **Depth Strider** minecraft:depth_strider
  Level: Depth Strider
  I II III
  Remove

- **Aqua Affinity** minecraft:aqua_affinity one level
  Remove

- **Sharpness** minecraft:sharpness
  Level: Sharpness
  I II III IV V
  Remove

- **Smite** minecraft:smite
  Level: Smite
  I II III IV V
  Remove

- **Bane of Arthropods** minecraft:bane_of_arthropods
  Level: Bane of Arthropods
  I II III IV V
  Remove

- **Knockback** minecraft:knockback
  Level: Knockback
  I II
  Remove

- **Fire Aspect** minecraft:fire_aspect
  Level: Fire Aspect
  I II
  Remove

- **Looting** minecraft:looting
  Level: Looting
  I II III
  Remove

- **Sweeping Edge** minecraft:sweeping_edge
  Level: Sweeping Edge
  I II III
  Remove

- **Efficiency** minecraft:efficiency
  Level: Efficiency
  I II III IV V
  Remove

- **Silk Touch** minecraft:silk_touch one level
  Remove

- **Unbreaking** minecraft:unbreaking
  Level: Unbreaking
  I II III
  Remove

- **Fortune** minecraft:fortune
  Level: Fortune
  I II III
  Remove

- **Power** minecraft:power
  Level: Power
  I II III IV V
  Remove

- **Punch** minecraft:punch
  Level: Punch
  I II
  Remove

- **Flame** minecraft:flame one level
  Remove

- **Infinity** minecraft:infinity one level
  Remove

- **Luck of the Sea** minecraft:luck_of_the_sea
  Level: Luck of the Sea
  I II III
  Remove

- **Lure** minecraft:lure
  Level: Lure
  I II III
  Remove

- **Mending** minecraft:mending one level
  Remove

- **Impaling** minecraft:impaling
  Level: Impaling
  I II III IV V
  Remove

- **Riptide** minecraft:riptide
  Level: Riptide
  I II III
  Remove

- **Loyalty** minecraft:loyalty
  Level: Loyalty
  I II III
  Remove

- **Channeling** minecraft:channeling one level
  Remove

- **Multishot** minecraft:multishot one level
  Remove

- **Piercing** minecraft:piercing
  Level: Piercing
  I II III IV
  Remove

- **Quick Charge** minecraft:quick_charge
  Level: Quick Charge
  I II III
  Remove

We assume a fresh item and books that have not been on an anvil yet.

## The cheapest order

Copy the plan

Pick at least one enchantment.

- Total

- Priciest step

- Steps

- Book after book, in the list's order

- The next anvil use on this item adds

## How to use it in three steps

Step by step, with this page's example.

Color codes

- Type the text.

- Select parts and give them color or formatting.

- Copy the string with § codes for an MOTD, name or lore.

What you enter

The server name in gold, the subtitle in gray

What you get

```
§6§lMy Server §r§7Survival 1.21
```

Anvil and enchantments

- Pick the item and the enchantments you want on it.

- Read the cheapest order to combine the books.

- Combine in that order and watch the level cost.

What you enter

Sword: Sharpness V, Looting III, Fire Aspect II, Unbreaking III, Mending

What you get

```
1. Sword + Looting III: 6 levels
2. Sharpness V + Unbreaking III: 3 levels
3. Sword + book (Sharpness V, Unbreaking III): 10 levels
4. Fire Aspect II + Mending: 2 levels
5. Sword + book (Fire Aspect II, Mending): 10 levels
Total: 31 levels
```

## Questions

- **How do I make colored text in Minecraft?**: Type the § sign (or & in commands and plugins) followed by a color code: §6 is gold, §c is red and §l is bold. The tool builds the string for you: type your text, select parts, pick colors and copy the result.
- **How do I make a colored server MOTD?**: Pick the MOTD output. The server.properties file breaks the § sign, so the tool writes it as \u00A7, and that is what you paste into the motd field.
- **Do hex colors work?**: In the MOTD and chat on newer versions, yes, through JSON. § codes give the 16 basic colors.
- **How do I combine enchantments on an anvil as cheaply as possible?**: Pick the item and the enchantments, and the tool gives you the cheapest combining order and the level cost of every step. Combine as a tree instead of one by one, because every anvil use adds a penalty.
- **What does Too Expensive mean?**: In survival the anvil refuses when one step costs 40 levels or more. A good combining order keeps every step below that.
- **Why does order change the cost?**: Every anvil use adds a penalty for earlier work on the item. Combining as a tree instead of one by one keeps the penalty down.

## Related tools

Each tab of the tool does one job. If the same thing should happen automatically in your bot, server or system, we build it.

- ### [server.properties generator](https://vulcode.com/en/tools/minecraft-server-properties-generator)
  Click the settings and get the file plus a server list preview.

- ### [Minecraft command generator](https://vulcode.com/en/tools/minecraft-command-generator)
  Build an item, /tellraw text, a firework, a potion or a banner and get a ready command.

- ### [Game plugins and scripts](https://vulcode.com/en/services/game-plugins)
  When the same thing should happen automatically in your bot, server or system.

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
