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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Elegant Twilight

Color codes used in elegant twilight gradient: #4c2f2f, #000000, #6d503c

Jewelry Velvet

Color codes used in jewelry velvet gradient: #7a3f00, #b76a0b, #d4a373

Rosewood to Lavender

Color codes used in rosewood to lavender gradient: #a83e49, #8a2ce2, #b57fdc

Evening Rose

Color codes used in evening rose gradient: #a83e49, #d78b88, #f2bab5

Pink Glow at Dusk

Color codes used in pink glow at dusk gradient: #4a2d4d, #b76c8b, #ffe0f0

Majestic Sunrise

Color codes used in majestic sunrise gradient: #ff8052, #fdb612, #4b91e2

Ocean Breeze

Color codes used in ocean breeze gradient: #2f9d82, #236380, #13ae73

Portage Sunrise

Color codes used in portage sunrise gradient: #ff8052, #ffd900, #ff4400
Explore more gradients