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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

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

Sound Wave Warmth

Color codes used in sound wave warmth gradient: #ff8052, #ffb347, #ffd900

Olivine Glow

Color codes used in olivine glow gradient: #9ab974, #a7c06d, #b0c757
Explore more gradients