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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Sunset Terracotta

Color codes used in sunset terracotta gradient: #d76b3c, #a2522a, #e17c60

Warm Abstract Sunset

Color codes used in warm abstract sunset gradient: #b95941, #d37d55, #e9a76d

Warm Abstract Sunset

Color codes used in warm abstract sunset gradient: #b95941, #d36a4a, #f3a96d

Sunset Ember

Color codes used in sunset ember gradient: #b95941, #e17c60, #f4a462

Blush Sunset

Color codes used in blush sunset gradient: #ffc2cc, #ff6bb5, #ff1492

Celestial Night Sky

Color codes used in celestial night sky gradient: #ff66cc, #3366ff, #222244

Night Green Blue

Color codes used in night green blue gradient: #274f33, #4e8d8d, #416881

Majestic Galaxy

Color codes used in majestic galaxy gradient: #3d9fdb, #51c878, #8a2ce2
Explore more gradients