Tailwind ToolsNo account required

Tailwind Gradient Generator

Generate Tailwind gradient classes and matching CSS previews from color and direction controls.

Open the gradient generator workspace

Tailwind workspace

Use Gradient Generator

Add your input, choose the available settings, and review the result before using it.

Tailwind classes
bg-gradient-to-r from-[#059669] via-[#0891b2] to-[#e11d48]
CSS
background-image: linear-gradient(to right, #059669, #0891b2, #e11d48);
Simple workflow

How to use Tailwind Gradient Generator

  1. 01

    Add your input

    Enter values, paste content, or choose files in the workspace.

  2. 02

    Choose your settings

    Adjust the available options to match the result you need.

  3. 03

    Review the result

    Check the output before you copy or download it.

Before you use the result

Review generated code and styles in your own project context before using them in production.

Tailwind Gradient Generator questions

Yes. Hex colors are emitted with Tailwind arbitrary color syntax.