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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Autumn Glow

Color codes used in autumn glow gradient: #ff8c00, #ffa600, #ffd900

Autumn Glow

Color codes used in autumn glow gradient: #ffb347, #ff8052, #d2691e

Autumn Ember

Color codes used in autumn ember gradient: #ff8161, #ffb347, #d56c2a

Urban Shadows

Color codes used in urban shadows gradient: #000000, #545454, #bababa

Sunlit Button Glow

Color codes used in sunlit button glow gradient: #ffa07a, #ff8c00, #ffd900

Button Bloom

Color codes used in button bloom gradient: #ff7aab, #ff4d9d, #ff2e89

Silver Sand

Color codes used in silver sand gradient: #bfbfbf, #d9d9d9, #e0e0e0

Silver Chalice

Color codes used in silver chalice gradient: #b1b8b9, #d3d9da, #a7a8aa
Explore more gradients