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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Enchanted Aurora

Color codes used in enchanted aurora gradient: #8a2ce2, #4a0080, #00ffff

Midnight Ocean

Color codes used in midnight ocean gradient: #0d1c2b, #1b273b, #415a76

Mystic Twilight

Color codes used in mystic twilight gradient: #a294b3, #8060a4, #434e60

Dark Blue Ocean

Color codes used in dark blue ocean gradient: #031d45, #0b3d93, #3874ff

Lavender Sunrise

Color codes used in lavender sunrise gradient: #b57fdc, #d3b0f2, #f6e179

Midnight Blood

Color codes used in midnight blood gradient: #1a1a2e, #4d0f30, #800020

Midnight Bloom

Color codes used in midnight bloom gradient: #0f0f3e, #4d0070, #a9327f

Blood Moon

Color codes used in blood moon gradient: #8c0303, #c61515, #ff4d4d
Explore more gradients