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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

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

Elegant Night

Color codes used in elegant night gradient: #bfbfbf, #000000, #808080

Sunset Ruby

Color codes used in sunset ruby gradient: #ffec3d, #ff425b, #f44034

Sunlit Meadow

Color codes used in sunlit meadow gradient: #65726f, #bec4ab, #829c77
Explore more gradients