Drop in a class
Link the generated stylesheet and use a stable gs- class anywhere CSS is accepted.
<link rel="stylesheet"
href="./gradients.min.css" />
<section class="gs-blue-lagoon"></section>
View the CSS build →
View on GitHub
Open-source gradient library
A curated collection of 328 dependency-free CSS gradients for the places where you need the right colors—not another install command.
The collection
Search by name, hex value, or mood. Every card includes a copy-ready snippet.
Try a different name, color, or mood—or clear the filters to see the full collection.
Use it your way
Everything is generated from one structured dataset, so you can choose the format that fits your stack.
Link the generated stylesheet and use a stable gs- class anywhere CSS is accepted.
<link rel="stylesheet"
href="./gradients.min.css" />
<section class="gs-blue-lagoon"></section>
View the CSS build →
Use the complete gradient or reach for each individual color stop as a custom property.
background-image: var(--gs-blue-lagoon);
color: var(--gs-blue-lagoon-color-2);
View the variables build →
Need a design token, or tool import? Copy the hex values or download JSON and CSV.
background-color: #0052D4;
background-image: linear-gradient(
90deg, #0052D4, #4364F7
);
Get the data exports →
Bring the whole box
Self-host the generated files in your own project. No account, no CDN, no vendor lock-in.
Explore the repositoryGradient detail
90°