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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Sea Voyage

Color codes used in sea voyage gradient: #4dacfe, #00f2ff, #00c4f0

Sunset Island Escape

Color codes used in sunset island escape gradient: #ffb347, #ffd900, #ff6347

Sly Warm Excitement

Color codes used in sly warm excitement gradient: #ff6e61, #ffb347, #ffd900

Tiramisu Delight

Color codes used in tiramisu delight gradient: #8b5e3c, #d3b58d, #9f512d

Autumn Ember

Color codes used in autumn ember gradient: #603615, #9f512d, #d2691e

Earthy Sunset

Color codes used in earthy sunset gradient: #603615, #8b4b2d, #c1744e

Golden Sunset

Color codes used in golden sunset gradient: #ffd900, #ffb700, #ffa600

Cosmic Aurora

Color codes used in cosmic aurora gradient: #6b10cb, #00d0ff, #ff6e61
Explore more gradients