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-[#3d9fdb] 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-[#3d9fdb] after:content-['']"></button>

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Dark Regal

Color codes used in dark regal gradient: #3b2f56, #6c5091, #a990d0

Medieval Dawn

Color codes used in medieval dawn gradient: #4b3b2a, #7c6a55, #d4c8b0

Eclipse Shadows

Color codes used in eclipse shadows gradient: #1a1a1a, #333333, #666666

Tech Noir

Color codes used in tech noir gradient: #000000, #1e3b8a, #00bfff

Sunset Glow

Color codes used in sunset glow gradient: #ff8052, #ffa07a, #ffd900

Golden Night Sky

Color codes used in golden night sky gradient: #ffd900, #4c6db8, #c0b182

Vintage Sunset

Color codes used in vintage sunset gradient: #ffd900, #ff8c00, #d9a520

Autumn Ember

Color codes used in autumn ember gradient: #a27139, #d9944a, #f1c179
Explore more gradients