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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Illusion Dream

Color codes used in illusion dream gradient: #6b10cb, #2775fc, #11c1e8

Sunset Fade

Color codes used in sunset fade gradient: #ff8000, #a83200, #000000

Hot Pink Sunset

Color codes used in hot pink sunset gradient: #ff6bb5, #ff85c2, #ffa3cd

Vibrant Spark

Color codes used in vibrant spark gradient: #ff8052, #ffd900, #ff6bb5

Sunrise Glow

Color codes used in sunrise glow gradient: #ffa600, #ffd900, #ffff66

Skyline Serenity

Color codes used in skyline serenity gradient: #156184, #59b3e3, #73787d

Deep Sea Breeze

Color codes used in deep sea breeze gradient: #59b3e3, #3a7a98, #156184

Nebula Indigo

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