Gradients
42 free CSS and Tailwind gradients: pastel, green, cream, blue, sunset, dark and mesh. Click any swatch to copy its CSS, open it for Tailwind classes, or make your own below.
FAQ
How do I make a gradient in CSS?
Use the background property with linear-gradient() or radial-gradient(), for example background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%). The angle sets the direction and each colour stop sets where a colour sits.
How do I use a gradient in Tailwind CSS?
Use bg-gradient-to-r (or another direction) with from-, via- and to- colours, or paste any CSS gradient as an arbitrary value such as bg-[linear-gradient(135deg,#d4fc79_0%,#96e6a1_100%)].
Can I use these gradients commercially?
Yes. They are free to use in any project, no attribution needed.