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-[#3323ca] to-[#d9157c] 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-[#3323ca] after:to-[#d9157c] after:content-['']"></button>

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Sunset Serenity

Color codes used in sunset serenity gradient: #ff8161, #feb47c, #88a9e7

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
Explore more gradients