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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Vibrant Spectrum

Color codes used in vibrant spectrum gradient: #e00000, #ff7700, #f5e900

Urban Dawn

Color codes used in urban dawn gradient: #2d7d9f, #1d7f9a, #3a4873

Vivid Pride

Color codes used in vivid pride gradient: #ff618b, #ffec3d, #4cae4f

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