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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Malibu Sunset

Color codes used in malibu sunset gradient: #ff9c8f, #ffd080, #4ea69f

Skyfire Glow

Color codes used in skyfire glow gradient: #4dacfe, #f193fb, #ffe500

Night Sky Breeze

Color codes used in night sky breeze gradient: #000638, #1e3b71, #4b91e2

Sunflower Storm

Color codes used in sunflower storm gradient: #ffc300, #ff5833, #c70038

Creamy Melt

Color codes used in creamy melt gradient: #f8f0e2, #ffeba8, #ffd6a3

Cheesy Sunset

Color codes used in cheesy sunset gradient: #ffb347, #ff6347, #ffd900

Sunset Blaze

Color codes used in sunset blaze gradient: #ffd900, #ff8c00, #ff4400

Vivid Twilight

Color codes used in vivid twilight gradient: #4a0d2e, #3c0f48, #7d4f57
Explore more gradients