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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Sunrise Glow

Color codes used in sunrise glow gradient: #ff5d38, #ffa600, #ffec3d

Morning Sunrise

Color codes used in morning sunrise gradient: #ffb347, #fdb612, #ff5d38

Sunrise Glow

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

Sunrise Serenade

Color codes used in sunrise serenade gradient: #ff9c8f, #ffca7a, #ffde7a

Sunshine Glow

Color codes used in sunshine glow gradient: #ffd900, #ffa600, #ff8c00

Sunny Glow

Color codes used in sunny glow gradient: #ffd900, #ffa600, #ff8c00

Sunrise Glow

Color codes used in sunrise glow gradient: #ff8052, #ffde70, #ffa07a

Morning Glory

Color codes used in morning glory gradient: #a6ede9, #fed7e1, #ffd6a3
Explore more gradients