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-[#3323ca] to-[#d9157c] 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-[#3323ca] after:to-[#d9157c] after:content-['']"></button>

Tailwind CSS gradient background

Tailwind CSS Gradient background

Tailwind CSS Code Snippet

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

Not quite the right gradient? Discover more

Amethyst

Color codes used in amethyst gradient: #9b58b6, #8d43ad, #6d3483

Mona Lisa

Color codes used in mona lisa gradient: #6a4c94, #d0b49f, #f2b75a

Carnation

Color codes used in carnation gradient: #ff6e61, #ffa08f, #ffb3a3

橘红色渐变

Color codes used in 橘红色渐变 gradient: #ff6d1f, #ff9c38, #ffbd52

Midnight Waves

Color codes used in midnight waves gradient: #0d1c2b, #1b3a4b, #4b6e8b

Azure Radiance

Color codes used in azure radiance gradient: #00a5e0, #00bfff, #65cdaa

Midnight

Color codes used in midnight gradient: #1a1a4c, #2d2d8f, #5d5dbb

Midnight Orange

Color codes used in midnight orange gradient: #ff6d1f, #ff9900, #ffb300
Explore more gradients