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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Midnight Gold

Color codes used in midnight gold gradient: #0d1c2b, #4b3b2a, #ffd900

Serene Sky

Color codes used in serene sky gradient: #8acff0, #4682b4, #1e3b8a

Lonestar Glow

Color codes used in lonestar glow gradient: #f9d924, #f39c12, #e77e23

Blazing Ember

Color codes used in blazing ember gradient: #000000, #660000, #ff0000

Mine Shaft Mystique

Color codes used in mine shaft mystique gradient: #2b2b2b, #4d4d4d, #808080

Midnight Whisper

Color codes used in midnight whisper gradient: #000000, #212121, #454545

Passionate Dawn

Color codes used in passionate dawn gradient: #000000, #660000, #ff0000

Deep Indigo Dream

Color codes used in deep indigo dream gradient: #4a0080, #690dab, #8a2ce2
Explore more gradients