CSS Background Pattern Generator
Generate CSS background patterns — dots, grids, stripes, and more — with live preview.
CSS background patterns explained
All six patterns are built entirely with CSS gradients — no images, no SVG files, no JavaScript. Dots use radial-gradient to draw a circle at each tile's centre. Grids and stripes use one or two linear-gradient layers for lines. Checkerboards layer four angled gradients offset by half a tile. The background-size property controls tile density, and changing the color's alpha lets the background color show through for a softer effect. Because they are CSS images, patterns scale crisply at any device pixel ratio and add zero network requests.
Related tools: CSS Gradient Generator · Tailwind Color Palette · Glassmorphism Generator
Private & free — this tool runs entirely in your browser.