Build a gradient

Colours

    Up to 6 colours, spread evenly.

    Formatting

    Preview

    Welcome to the server

    Output format

    MiniMessage gradient tag

    
              

    How gradients work in Minecraft

    Minecraft has no gradient feature of its own. A gradient is many colour codes in a row, one colour per character, which is why the output gets long quickly.

    • Spaces are skipped when spreading the colours, so gaps in the text don’t cause jumps in the gradient.
    • Hex colours need Java Edition 1.16 or later. Legacy § codes on their own only have 16 colours.
    • Plugin formats such as &#rrggbb depend on the plugin. If you see the codes as text in game, your plugin uses a different format.
    • Bedrock Edition doesn’t support hex colours.

    Common questions

    Why is the output so long?

    Minecraft has no gradient feature, so every character gets its own colour code. Longer text means many more codes.

    Which output format should I choose?

    MiniMessage for Paper and other plugins built on Adventure, hex & codes for plugins that document &#rrggbb, and the JSON text component for vanilla commands like /tellraw.

    Can I use a gradient in server.properties?

    No. The vanilla motd setting only supports the 16 standard colours. A gradient MOTD needs a plugin.

    Does it work on Bedrock Edition?

    No. Bedrock Edition doesn’t support hex colours, so gradients can’t be shown there.