Tailwind CSS Gradient Generator

Beautiful gradients instantly styled with Tailwind CSS. Pick your colors, preview in real UI components, and copy the code — all in one place.

Gradient Settings

Gradient colors

Linear gradient direction

Tailwind CSS UI Elements

Tailwind CSS Gradient Text

Tailwind CSS Code Snippet

<h1 class="bg-gradient-to-r from-[#26235c] bg-clip-text text-transparent"></h1>
Like the button style? Press to see Tailwind CSS styling

No Animation Buttons

Background Filled Buttons

Animated Slide Buttons

Tailwind CSS Code Snippet

<button class="relative cursor-pointer rounded border-2 border-transparent bg-white bg-clip-padding px-5 py-2 text-sm font-semibold after:absolute after:-inset-0.5 after:-z-10 after:rounded after:bg-gradient-to-r after:from-[#26235c] after:content-['']"></button>

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

<div class="bg-gradient-to-r from-[#26235c]"></div>

Not quite the right gradient? Discover more

Evening Forest

Color codes used in evening forest gradient: #26235c, #456d31, #6dc149

Havelock Blue

Color codes used in havelock blue gradient: #4b91e2, #6cc0e4, #a5d7e9

Seagull Serenity

Color codes used in seagull serenity gradient: #8acff0, #a9d4f4, #e0f7fa

Earthy Dawn

Color codes used in earthy dawn gradient: #7b6b56, #a2905d, #d4b26e

Deep Blue Sky

Color codes used in deep blue sky gradient: #0f1729, #2463eb, #3abff8

Sunburst Glow

Color codes used in sunburst glow gradient: #ffb347, #ffa600, #ff8000

Sky Blue Serenity

Color codes used in sky blue serenity gradient: #8acff0, #66ccff, #3399ff

Skyline Bliss

Color codes used in skyline bliss gradient: #17a9ee, #62b8d5, #a1cce3
Explore more gradients