Why it matters
A pattern made from gradients costs a few hundred bytes of CSS instead of an image request, stays sharp on every screen and can use your CSS variables.
The maths behind tile sizes and colour stops is fiddly, which is why most people copy one from a gallery; this builds it from your own sizes and colours.
How to use it
- Type or paste your input; the example shows the format.
- Press Generate pattern. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
Do gradient patterns hurt performance?
Not on their own. Very small tiles on huge areas can be slower to paint, so keep tiles above about 8px on full-page backgrounds.
Can I use CSS variables for the colours?
Yes. Replace the hex values in the output with var(--your-colour).
Why are the edges a little soft?
Gradient stops are anti-aliased. For dots the code adds a half-pixel soft edge on purpose so they don't look jagged.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.