Skip to content
Language:en

Minecraft RGB gradient text generator

Hex gradient text for Minecraft nicknames, chat and MOTDs, in every plugin format.

Unofficial site. Not approved by or associated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.

Colors

    Presets
    Styles
    Advanced options

    Preview

    Decode existing RGB text

    Paste text in &#rrggbb, &x, §x, <#rrggbb>, BBCode or JSON: its text and colors are loaded into the editor.

    Runs entirely in your browser. Your files never leave your device.

    About this tool

    Gradient nicknames and rainbow server names need one hex color code per letter, which nobody wants to type by hand. Write your text, pick two or more colors, and the generator spreads them across the characters with a live in-game preview.

    Each color stop can be moved, so the gradient can linger on one shade, and blending in OKLab or HSL avoids the muddy middle tones of plain RGB. Add bold or italic, switch to small caps, then copy the result in the format your server reads: &#rrggbb for EssentialsX and most plugins, &x codes, MiniMessage for Paper, JSON for /tellraw, or your own template. Already have colored text? Paste it to get its colors back.

    How it works

    1. Type the text: a nickname, a rank prefix or a server name.
    2. Set the colors: pick a preset, add stops, drag their position, reverse or randomize them.
    3. Choose the styles, the font and, in advanced options, a command prefix such as /nick.
    4. Select the output format your plugin expects and copy it.

    Hex colors work in Java Edition 1.16 and later. The vanilla chat line is limited to 256 characters, and every colored letter costs 8 to 14 characters of codes: raise “characters per color” or keep “skip spaces” on to shorten long texts.

    Worked example

    The nickname Aurora with a gradient from #FF5F6D (coral) to #FFC371 (peach): the &#rrggbb output puts a colour code before each letter, from &#FF5F6DA to &#FFC371a. The 6 letters become 54 characters; bold adds 2 more per letter, 66 in total.

    Set “characters per color” to 2 and the same nickname needs only 3 codes: 3 × 8 + 6 = 30 characters, short enough for most nickname limits, with a gradient that still reads clearly.

    Good to know

    • EssentialsX limits nicknames with max-nick-length in config.yml (15 by default) and counts the colour codes unless ignore-colors-in-max-nick-length is set to true.
    • Choose colours of similar brightness: a dark-to-light gradient makes the end of the name hard to read on the dark chat background.
    • Reuse the same hex codes in your rank prefix, scoreboard and TAB list so the whole server shares one palette.
    • Bedrock players joining through Geyser usually see the nearest classic colour for each letter, so the gradient turns into a few colour bands.

    Frequently asked questions

    Which format should I use for EssentialsX /nick?
    The default &#rrggbb format. Put /nick in the prefix field to get a ready-to-paste command. Some older plugins expect the &x&r&r&g&g&b&b form instead.
    Does this work on Bedrock Edition?
    No. Bedrock only displays its fixed palette of color codes, so hex gradients need a Java server (1.16+) or a proxy plugin that converts them.
    Why is my nickname rejected as too long?
    Servers count the color codes, not just the letters. Use “characters per color” to color letters in pairs, skip spaces, or remove a style: each style adds two characters per color change.
    What is the difference between RGB, HSL and OKLab blending?
    RGB mixes the channels directly and can turn grey between opposite colors. HSL travels around the color wheel, which suits rainbow effects. OKLab follows how the eye perceives brightness, giving the smoothest transitions.
    Can I get the colours back from an existing gradient?
    Yes. Paste coloured text in the &#rrggbb, &x or MiniMessage format and the generator reads the colour stops back, so you can adjust an old nickname instead of starting over.