Minecraft Gradient Text Generator
Java & BedrockType your text, pick 2–10 colours and copy a gradient in exactly the format your server reads: EssentialsX/CMI &#rrggbb, MiniMessage for Paper and Velocity, Spigot §x / &x codes, vanilla JSON for /tellraw, SNBT for 1.21.5+ item names, Kyori Adventure code, BBCode, a server.properties MOTD or a Bedrock fallback. The preview is drawn in a Minecraft-style pixel font, inside chat, an item name, item lore, the server list and the tab list, with live length and width checks for each place the text can go.
Text
10/256 characters
& codes allowed, e.g. &8[
e.g. &8] &f
Colours
- 1
- 2
Style
Smooth and perceptually even — the best default
1 = smoothest. Higher values make bands and much shorter output.
Preview
- Chat 110/256
- Item name 10/50
- Server list MOTD 10/59
- Scoreboard / tab 10/40
Output
EssentialsX, CMI, most modern plugins
�F5A0&lS�F2AB&lh�EFB5&la�ECBF&lp�E9C9&le�E6D2&lC�E3DB&lr�E0E4&la�DDED&lf�D9F5<
All formats
<#00F5A0>&lS<#00F2AB>&lh<#00EFB5>&la<#00ECBF>&lp<#00E9C9>&le<#00E6D2>&lC<#00E3DB>&lr<#00E0E4>&la<#00DDED>&lf<#00D9F5><
<bold><gradient:#00f5a0:#00d9f5>ShapeCraft</gradient></bold>
<bold><#00f5a0>S<#00f2ab>h<#00efb5>a<#00ecbf>p<#00e9c9>e<#00e6d2>C<#00e3db>r<#00e0e4>a<#00dded>f<#00d9f5>t</bold>
§x§0§0§F§5§A§0§lS§x§0§0§F§2§A§B§lh§x§0§0§E§F§B§5§la§x§0§0§E§C§B§F§lp§x§0§0§E§9§C§9§le§x§0§0§E§6§D§2§lC§x§0§0§E§3§D§B§lr§x§0§0§E§0§E§4§la§x§0§0§D§D§E§D§lf§x§0§0§D§9§F§5§lt
&x&0&0&F&5&A&0&lS&x&0&0&F&2&A&B&lh&x&0&0&E&F&B&5&la&x&0&0&E&C&B&F&lp&x&0&0&E&9&C&9&le&x&0&0&E&6&D&2&lC&x&0&0&E&3&D&B&lr&x&0&0&E&0&E&4&la&x&0&0&D&D&E&D&lf&x&0&0&D&9&F&5<
["",{"text":"S","color":"#00F5A0","bold":true},{"text":"h","color":"#00F2AB","bold":true},{"text":"a","color":"#00EFB5","bold":true},{"text":"p","color":"#00ECBF","bold":true},{"text":"e","color":"#00E9C9","bold":true},{"text":"C","color":"#00E6D2","bold":true},{"text":"r","color":"#00E3DB","bold":true},{"text":"a","color":"#00E0E4","bold":true},{"text":"f","color":"#00DDED","bold":true},{"text":"t","color":"#00D9F5","bold":true}]["",{text:"S",color:"#00F5A0",bold:true},{text:"h",color:"#00F2AB",bold:true},{text:"a",color:"#00EFB5",bold:true},{text:"p",color:"#00ECBF",bold:true},{text:"e",color:"#00E9C9",bold:true},{text:"C",color:"#00E6D2",bold:true},{text:"r",color:"#00E3DB",bold:true},{text:"a",color:"#00E0E4",bold:true},{text:"f",color:"#00DDED",bold:true},{text:"t",color:"#00D9F5",bold:true}]Component text = Component.text()
.append(Component.text("S", TextColor.color(0x00F5A0), TextDecoration.BOLD))
.append(Component.text("h", TextColor.color(0x00F2AB), TextDecoration.BOLD))
.append(Component.text("a", TextColor.color(0x00EFB5), TextDecoration.BOLD))
.append(Component.text("p", TextColor.color(0x00ECBF), TextDecoration.BOLD))
.append(Component.text("e", TextColor.color(0x00E9C9), TextDecoration.BOLD))
.append(Component.text("C", TextColor.color(0x00E6D2), TextDecoration.BOLD))
.append(Component.text("r", TextColor.color(0x00E3DB), TextDecoration.BOLD))
.append(Component.text("a", TextColor.color(0x00E0E4), TextDecoration.BOLD))
.append(Component.text("f", TextColor.color(0x00DDED), TextDecoration.BOLD))
.append(Component.text("t", TextColor.color(0x00D9F5), TextDecoration.BOLD))
.build();[B][COLOR=#00F5A0]S[/COLOR][COLOR=#00F2AB]h[/COLOR][COLOR=#00EFB5]a[/COLOR][COLOR=#00ECBF]p[/COLOR][COLOR=#00E9C9]e[/COLOR][COLOR=#00E6D2]C[/COLOR][COLOR=#00E3DB]r[/COLOR][COLOR=#00E0E4]a[/COLOR][COLOR=#00DDED]f[/COLOR][COLOR=#00D9F5]t[/COLOR][/B]
\u00A7x\u00A70\u00A70\u00A7F\u00A75\u00A7A\u00A70\u00A7lS\u00A7x\u00A70\u00A70\u00A7F\u00A72\u00A7A\u00A7B\u00A7lh\u00A7x\u00A70\u00A70\u00A7E\u00A7F\u00A7B\u00A75\u00A7la\u00A7x\u00A70\u00A70\u00A7E\u00A7C\u00A7B\u00A7F\u00A7lp\u00A7x\u00A70\u00A70\u00A7E\u00A79\u00A7C\u00A79\u00A7le\u00A7x\u00A70\u00A70\u00A7E\u00A76\u00A7D\u00A72\u00A7lC\u00A7x\u00A70\u00A70\u00A7E\u00A73\u00A7D\u00A7B\u00A7lr\u00A7x\u00A70\u00A70\u00A7E\u00A70\u00A7E\u00A74\u00A7la\u00A7x\u00A70\u00A70\u00A7D\u00A7D\u00A7E\u00A7D\u00A7lf\u00A7x\u00A70\u00A70\u00A7D\u00A79\u00A7F\u00A75\u00A7lt
§a§lSh§b§lapeCraft
�F5A0&lS�F2AB&lh�EFB5&la�ECBF&lp�E9C9&le�E6D2&lC�E3DB&lr�E0E4&la�DDED&lf�D9F5<
How it works
Each visible character gets its own colour. The colours are spread evenly across your stops and blended in OKLab (perceptually smooth, no muddy middle), OKLCH (perceptual but keeps saturation, so red to blue goes through purple instead of grey), CIE Lab, plain RGB (what most plugins do) or HSL (a vivid sweep around the colour wheel). “Characters per colour” groups letters into bands, and “skip spaces” keeps spaces from using up a step so words stay evenly coloured. Your favourite stop sets can be saved as presets in this browser.
The colours are then written in the format you choose. Legacy-style formats put a colour code in front of every character and repeat bold/italic codes after each one, because in Minecraft a colour code resets formatting. MiniMessage can use a compact <gradient> tag (the server blends the colours itself) or one colour tag per character for an exact match. JSON and SNBT produce a text-component array where styles can't leak between parts.
Bedrock Edition has no hex colours, so the Bedrock output snaps every character to the nearest of the 16 § colours (measured in OKLab). Unicode styles swap letters for look-alike characters — small caps, fullwidth, bold serif, script, gothic and more — which work anywhere text is accepted, including anvils and signs.
The preview measures your text with the pixel font, so you can see whether it fits one chat line (320 px), how a name looks in an item tooltip and whether a MOTD line overflows the server list. The “fits in” badges check every limit at once — 256 characters for a typed chat message (codes included), 50 visible characters for an anvil name, 59 characters and 270 px for a MOTD line, 40 characters for a scoreboard entry — and the Codes counter shows how much of the output is colour codes rather than text.
Under the hood
- Colour of character k
- t = k / (n − 1); segment = ⌊t·(stops − 1)⌋; colour = mix(stop[seg], stop[seg+1], t·(stops − 1) − seg)
- &#rrggbb (Essentials, CMI)
- &#FF0000&lH�FF&li
- §x (Spigot/Bungee)
- §x§F§F§0§0§0§0H — §x then six § + hex digit
- MiniMessage
- <bold><gradient:#ff0000:#0000ff>Hi</gradient></bold>
- JSON / SNBT
- ["",{"text":"H","color":"#FF0000"},…] / ["",{text:"H",color:"#FF0000"},…]
- Chat limit
- typed message ≤ 256 characters including every colour code (~10 per character for &#rrggbb + bold, ~16 for &x + bold)
FAQ
Which format should I use for my server?
EssentialsX nicknames and most chat plugins read &#rrggbb. Paper, Purpur, Velocity and anything built on Adventure read MiniMessage. Plain Spigot plugins that call ChatColor.translateAlternateColorCodes read &x&r&r&g&g&b&b. Vanilla commands like /tellraw and /title need JSON, and item names or lore in 1.21.5+ commands use SNBT. If unsure, try &#rrggbb first.
Why is my gradient too long to type in chat?
Minecraft limits a typed chat message to 256 characters, and every hex colour code costs about 8 characters per letter (14 with § or &x). Use fewer letters, set “characters per colour” to 2–3, use MiniMessage's compact <gradient> tag, or paste the text into a config file instead of chat.
Does gradient text work on Bedrock Edition?
Not with hex colours — Bedrock only understands the 16 legacy § colours (plus a few material colours). The Bedrock output snaps each character to the nearest legacy colour so you still get a stepped gradient.
Why does bold disappear after the first letter?
In Minecraft a colour code resets all formatting, so bold, italic and the others must be repeated after every colour code. This generator does that automatically in every legacy format.
What's the difference between OKLab, OKLCH, Lab, RGB and HSL?
RGB blends the red, green and blue numbers directly, which can look grey or dark in the middle (red to green goes through brown). OKLab and Lab blend by how bright and colourful the colours look, so gradients stay even; OKLab is the newer, more accurate model. OKLCH is OKLab in polar form: it keeps the saturation up and turns the hue, so red to blue passes through purple instead of a dull grey. HSL travels around the colour wheel, giving rainbow-like vivid transitions.
Can I write my own output format?
Yes — choose Custom and type a template. $c is the whole RRGGBB value, $1 to $6 are its single hex digits (for formats like &x&$1&$2&$3&$4&$5&$6), $t is the character and $f the active format codes.
Related tools
Minecraft Color Codes & Formatting
Every Minecraft colour and formatting code (§ and &) with hex values, MiniMessage tags and JSON names, plus a live editor that converts between formats.Text & StyleMinecraft Font & Logo Text Generator
Turn any text into Minecraft-style pixel lettering with gradients, outlines, 3D extrude and shadows — download a transparent PNG.Text & StyleMinecraft Sign Text Generator
Design coloured, glowing, two-sided Minecraft signs with a live pixel preview and get the /give or /setblock command for 1.20 to 1.21.5+.Text & StyleWritten Book Generator
Minecraft book generator: write multi-page books with colours, clickable links and hover text, preview every page and get the /give written_book command.Text & Style