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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

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

Midnight Gold

Color codes used in midnight gold gradient: #0d1c2b, #4b3b2a, #ffd900

Serene Sky

Color codes used in serene sky gradient: #8acff0, #4682b4, #1e3b8a

Lonestar Glow

Color codes used in lonestar glow gradient: #f9d924, #f39c12, #e77e23

Blazing Ember

Color codes used in blazing ember gradient: #000000, #660000, #ff0000
Explore more gradients