Background Pattern Generator

Generate seamless CSS background patterns from gradients and copy the code.

Tool Panel

Loading tool...
About Background Pattern Generator

Six seamlessly tiling patterns built purely from CSS gradients, with an adjustable angle for the stripes. No image assets, so no extra requests.

  • 1

    Six patterns (horizontal stripes, diagonal stripes, dots, grid, checkerboard, zigzag) are all **compositions of gradients**: a base colour plus one or more `repeating-linear-gradient` / `radial-gradient` layers, with `background-size` setting the repeat period. The output is a few lines of CSS.

  • 2

    The two colours are "paper" and "ink" (background and pattern); `size` is the tiling period and the angle only applies to the two stripe patterns — the mapping from controls to output is direct.

  • 3

    The payoff of pure CSS: no extra image request, colours that follow the theme, no blur at any scale, and crisp printing. The limit is that noise and hand-drawn textures are out of reach.

Related tools

View all
Color Picker
Design Tools

Color Picker

Pick a colour and read off its HEX, RGB and HSL values.

Design Tools
Contrast Checker
Design Tools

Contrast Checker

Check foreground and background contrast against accessibility thresholds.

Design Tools
Gradient Generator
Design Tools

Gradient Generator

Build CSS linear and radial gradients visually, then copy the code.

Design Tools
Box Shadow Generator
Design Tools

Box Shadow Generator

Tune a box shadow visually and copy the CSS.

Design Tools
Unit Converter
Design Tools

Unit Converter

Convert physical units across length, weight, volume and more.

Design Tools
Bytes Converter
Design Tools

Bytes Converter

Convert between bytes, KB, MB, GB and TB.

Design Tools