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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Orange Violet Lantern

Color codes used in orange violet lantern gradient: #ffa600, #8a2ce2, #ffa07a

Purple Universe

Color codes used in purple universe gradient: #690dab, #9f1fef, #dda1dd

White Pink Breeze

Color codes used in white pink breeze gradient: #ffffff, #ffe5f0, #ffb8c2

Golden Elegance

Color codes used in golden elegance gradient: #ffd900, #ffc105, #ffb300

School Bus Brightness

Color codes used in school bus brightness gradient: #ffdd00, #ffc105, #ffb300

School Bus Sunshine

Color codes used in school bus sunshine gradient: #ffd900, #ffc105, #ffb300

Golden Dawn

Color codes used in golden dawn gradient: #ffd900, #ffc105, #ffa200

Moonlit Night

Color codes used in moonlit night gradient: #898b90, #20364b, #a9a9b2
Explore more gradients