Tools / Text Colors
Text
Colours
Smooth keeps the middle of the gradient bright. Classic mixes plain RGB, which can turn grey between two strong colours.
Pick your server logo and the gradient takes its main colours. The picture stays on your device.
A colour per letter looks best. Raise this when the result is too long: every colour costs up to 14 characters.
Text shadow Java 1.21.4+
Preview colours are exact, the font is not Minecraft's
Copy it
Which one? Look at how colours are written in your plugin's own config and take the matching format. Text typed in game chat is limited to 256 characters; config files are not.
How to make gradient text
- Type your text, up to 256 characters: a server name, a rank, an item name or a message.
- Pick up to eight colours or a preset. Colours from a picture takes the main colours of your logo; the picture never leaves your device.
- Choose the blend. Smooth mixes in the OKLab colour space, so the middle of the gradient stays bright. Classic RGB mixes red, green and blue in a straight line, like most generators.
- Add bold, italic, underline, strikethrough, magic text or small caps, and check the preview on a chat or tooltip background.
- Copy the format your plugin reads. Copy link to this gradient saves the set-up in a link, and Animate it for TAB opens it in the TAB Animation Generator.
What the formats mean
Every format writes the same colours, spelled the way a plugin expects. To choose, look at how colours are written in your plugin's default config.
&#RRGGBB
The most common hex format in plugin configs: &#FF5555Shop. EssentialsX, CMI and TAB read it, and so do many other plugins.
MiniMessage: <#rrggbb> and <gradient>
The text format of Adventure, which is built into Paper, so plugins made for Paper often use it. <gradient:#ff5555:#8a0a0d>Shop</gradient> blends across the text. With Classic RGB and a colour per letter, the generator writes a real <gradient> tag; otherwise it writes one <#rrggbb> tag per letter, because MiniMessage's own gradient always mixes in plain RGB.
&x&R&R&G&G&B&B and §x§R§R§G§G§B§B
How Spigot and Paper store hex inside legacy text: §x, then each digit with its own §. The & version is for plugins that turn & into §. Each colour costs 14 characters; raise New colour every to make the result shorter. <#RRGGBB> and {#RRGGBB} are two more spellings some plugins use; check your plugin's documentation.
Legacy codes such as &a
The 16 classic colours &0 to &f and the formatting codes &l &o &n &m &k &r. A colour code resets formatting, so the generator repeats &l and the like after each colour. The full list is on Minecraft Color Codes.
JSON, MOTD and BBCode
JSON is for vanilla commands: /tellraw @a followed by the output, or /title. MOTD gives a whole motd= line for server.properties, with § written as \u00A7 so it cannot get garbled; if your server software shows the codes as text, use legacy colours or a MOTD plugin. BBCode writes [COLOR=#RRGGBB] tags for XenForo forums such as SpigotMC and BuiltByBit.
Where to paste it
Chat formats, rank prefixes, scoreboards, the tab list, menu items and lore, holograms and boss bars all take coloured text. A LuckPerms prefix is only text: the chat or TAB plugin that shows it decides which format works. In YAML, put coloured text in double quotes; the Config Checker finds lines that need them.
Java Edition 1.16 or later only
Hex colours need Java Edition 1.16 or later. Bedrock Edition does not support them; Bedrock players who join through Geyser see a close standard colour instead.
Coloured text shadow
Since Java Edition 1.21.4 text can have its own shadow colour. Without one, the game draws the shadow in the text colour at a quarter of its brightness. Under Text shadow, pick Custom and choose one colour, a gradient of its own, or the text gradient made darker. Opacity sets how strong the shadow is, and No shadow removes it.
Only MiniMessage and JSON can carry a shadow colour. MiniMessage gets <shadow:#rrggbbaa>, where the last two digits are the opacity, or <!shadow> for no shadow; plugins need Paper 1.21.4 or later (Adventure 4.18). If you write the tag by hand, <shadow:#rrggbb> without the last two digits gives a faint shadow at 25% opacity. JSON gets a shadow_color field: one number that packs opacity, red, green and blue (ARGB), and 0 for no shadow.
Legacy codes such as &#RRGGBB, §x and the MOTD line have no shadow code, so the generator leaves the shadow out of them and says so under each one.
Questions
Why does my gradient show codes like &#FF5555 in game?
The plugin that shows the text does not read that format. Check how colours are written in its default config or documentation and copy the matching format. The server also needs Java Edition 1.16 or later.
Do hex colours work on Bedrock Edition?
No. Bedrock Edition only has its fixed colour codes. Bedrock players who join through Geyser see the nearest standard colour instead of your gradient.
Why is my gradient text too long?
Each hex colour costs up to 14 characters, and a line typed in chat is limited to 256. Raise “New colour every” to two or three letters, shorten the text, or put it in a config file, which has no such limit.
What is the difference between Smooth and Classic RGB?
Classic RGB mixes red, green and blue in a straight line, which can turn grey halfway between two strong colours. Smooth mixes in the OKLab colour space, which follows how bright colours look to the eye, so the middle stays bright.
Why does bold stop after the first letter?
In legacy formats every colour code resets bold, italic and the other styles, so the formatting code must follow each colour code. The generator already does that, so copy its output as it is.
How do I change the text shadow colour in Minecraft?
You need Java Edition 1.21.4 or later and a format that supports it. In MiniMessage, put <shadow:#rrggbbaa> before the text; the last two digits are the opacity. In JSON for /tellraw, add the shadow_color field. Legacy & and § codes cannot change the shadow. Set it up under Text shadow and copy the MiniMessage or JSON output.