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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Ocean Breeze

Color codes used in ocean breeze gradient: #2b7aa1, #4a9ab0, #6eb7c9

Sunlit Forest

Color codes used in sunlit forest gradient: #006600, #2e8a56, #abff2e, #ffa600

Bright Signage

Color codes used in bright signage gradient: #f9d624, #ff4d4f, #1f4138

Fresh Spring Meadow

Color codes used in fresh spring meadow gradient: #68bb6c, #a7e061, #caff85

Deeper Purple

Color codes used in deeper purple gradient: #681b98, #8c24a8, #ab47bd

Lonestar Glow

Color codes used in lonestar glow gradient: #ffb347, #ffd900, #ff5833

Sunset Red

Color codes used in sunset red gradient: #ff4d4d, #e60000, #cc0000

Sunset Playfulness

Color codes used in sunset playfulness gradient: #ff8161, #fdb612, #6a82fb
Explore more gradients