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

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Pure Dawn

Color codes used in pure dawn gradient: #ffffff, #f0f8ff, #ffe3e0

Ocean Breeze

Color codes used in ocean breeze gradient: #0b0ba2, #2ab0b7, #44cab2

Mythic Magic

Color codes used in mythic magic gradient: #6b10cb, #b4139c, #f00000

Festive Joy

Color codes used in festive joy gradient: #ff6e61, #f7c6a1, #4eb7ac

Joyful Celebration

Color codes used in joyful celebration gradient: #ffd900, #ff6bb5, #00ffff

Festive Glow

Color codes used in festive glow gradient: #ff4d4d, #ffe066, #ffff66

Victory Glow

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

Celebration Glow

Color codes used in celebration glow gradient: #ffd900, #ffa600, #ff4400
Explore more gradients