CSS Gradient Library

80+ curated CSS gradients. Click any card to copy the CSS - ready to paste into your stylesheet.

Glass Effect
80 gradients

Aurora

vibrant

Copy CSS

Candy

vibrant

Copy CSS

Neon Burst

vibrant

Copy CSS

Tropical

vibrant

Copy CSS

Citrus

vibrant

Copy CSS

Electric

vibrant

Copy CSS

Watermelon

vibrant

Copy CSS

Cosmic Berry

vibrant

Copy CSS

Lime Punch

vibrant

Copy CSS

Flamingo

vibrant

Copy CSS

Ocean Fire

vibrant

Copy CSS

Plasma

vibrant

Copy CSS

Cotton Candy

subtle

Copy CSS

Lavender Mist

subtle

Copy CSS

Peach Bliss

subtle

Copy CSS

Mint Cream

subtle

Copy CSS

Rose Quartz

subtle

Copy CSS

Baby Blue

subtle

Copy CSS

Buttercup

subtle

Copy CSS

Sakura

subtle

Copy CSS

Morning Dew

subtle

Copy CSS

Blush

subtle

Copy CSS

Midnight

dark

Copy CSS

Obsidian

dark

Copy CSS

Night Sky

dark

Copy CSS

Charcoal Glow

dark

Copy CSS

Deep Space

dark

Copy CSS

Abyss

dark

Copy CSS

Midnight Rose

dark

Copy CSS

Storm

dark

Copy CSS

Dark Forest

dark

Copy CSS

Void

dark

Copy CSS

Ocean Depth

ocean

Copy CSS

Aegean

ocean

Copy CSS

Tidal Wave

ocean

Copy CSS

Aqua Dream

ocean

Copy CSS

Bioluminescent

ocean

Copy CSS

Deep Blue

ocean

Copy CSS

Lagoon

ocean

Copy CSS

Pacific

ocean

Copy CSS

Sunset

sunset

Copy CSS

Golden Hour

sunset

Copy CSS

Desert Dawn

sunset

Copy CSS

Amber Glow

sunset

Copy CSS

Dusk

sunset

Copy CSS

Bonfire

sunset

Copy CSS

Lava

sunset

Copy CSS

Creamsicle

sunset

Copy CSS

How to Use the CSS Gradient Library

  1. 1.Browse the gallery or filter by style - Vibrant, Subtle, Dark, Ocean, Sunset, Cosmic, and more.
  2. 2.Hover over any card and click "Copy CSS" - or click the copy icon in the card footer.
  3. 3.The copied value is a ready-to-paste background: linear-gradient(…) CSS rule.
  4. 4.For Tailwind, wrap it as an arbitrary value: bg-[linear-gradient(135deg,#6366f1,#ec4899)].
  5. 5.Need a custom gradient? Use the Gradient Generator to build your own.

What is a CSS Gradient?

A CSS gradient is a smooth color transition generated entirely in CSS - no images needed. linear-gradient() transitions colors along a straight line at any angle. radial-gradient() radiates outward from a center point. Both render at any resolution and have zero file size overhead. Gradients are used everywhere in modern UI: hero backgrounds, card overlays, button fills, text effects, and decorative borders. You can stack multiple gradient layers using comma-separated values for complex mesh and duotone effects.

Frequently Asked Questions

Can I use these gradients commercially?

Yes. All gradients in the ColorPeek library are free for personal and commercial use with no attribution required.

How do I add a gradient to text in CSS?

Apply background: linear-gradient(…) combined with -webkit-background-clip: text and -webkit-text-fill-color: transparent.

How do I use this in Tailwind CSS?

Use Tailwind's arbitrary value syntax: className="bg-[linear-gradient(135deg,#6366f1_0%,#ec4899_100%)]". Replace spaces with underscores inside brackets.