Pattern Generator
Build clean CSS background patterns with a live preview. Copy CSS, export SVG, and share by button.
How to Use
- Pick a pattern type (stripes, dots, grid, checker, etc.).
- Set colors, size, spacing, angle, and opacity.
- Copy the CSS output (or export SVG) when it looks right.
- Use “Share Link” to generate a URL that restores your settings.
Live Preview
Preview is rendered from CSS output. No uploads.
Type
—
Tile
—
Contrast
—
Tip: Turn on “Transparent background” if you want only the pattern layer.
Details (CSS output)
Output is designed to paste directly into a CSS class (uses
background-image, background-size, and optional background-color).
Reference
These are the core CSS primitives this tool composes (kept short and practical).
repeating-linear-gradient()for stripes/diagonalsradial-gradient()for dots- Layered gradients for grids and checkerboards
background-sizecontrols tiling
FAQ
Does this upload anything?
No. The preview and exports are generated in your browser.
What’s the best pattern for readability?
Use low opacity (0.05–0.20) and larger tile sizes (24–64px) so text stays clear.
Why does my pattern look “muddy”?
High opacity + small scale can cause visual noise. Increase scale/tile or reduce opacity.
Can I export SVG?
Yes (client-side). SVG is great for crisp scaling and predictable tiling.
Tool Info
Last updated:
Updates may include new pattern types, better exports, and edge-case handling.