Skip to content
OddsockLocal
Local
Width (px)640
Height (px)360
Background patternstripes
Background color#293145
Second color#7599ae
Pattern spacing (px)32

Result

background: repeating-linear-gradient(45deg, #293145 0 16px, #7599ae 0 32px);
ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Set the canvas size. Use a multiple of the spacing if the PNG must tile.
  2. Choose the pattern, the colors, and the spacing.
  3. Download the PNG.
  4. Switch to the CSS pattern page if the same motif should stay in a stylesheet.

What is Pattern maker?

A pattern that has to ship inside an app bundle or a print file cannot be a CSS gradient. Pattern maker paints stripes, dots, grids, checks, waves of mesh or noise, at a width and height, and downloads a PNG. It opens on stripes, 640 by 360, colors #293145 and #7599ae, spacing 32. Spacing is the repeat: stripe bands, the gap between dots, the grid cell, the checker square.

Read more

The CSS pattern page writes stripes, dots, grid, and checks as a background rule and stops there. Come here when you need the file. The background maker is the wider wallpaper tool, opening on mesh rather than on a motif. If the motif is the point, start on this page so you are looking at stripes first.

A pattern PNG tiles only as well as its edges allow. Stripes and checks at a spacing that divides the canvas will meet their neighbors cleanly. A size that is not a multiple of the spacing can show a partial shape at the edge, which is what you want for a full-bleed poster and what you do not want for a tile.

Use cases

  • A packaging dieline needs a stripe PNG, not a stylesheet.
  • A mobile app bundles a dot grid at the pixel size of a header.
  • A designer exports checks as a transparency preview for a slide.
  • A textile mockup tries spacing 24 against spacing 48 at the same colors.
  • A game wants a small grid texture baked to a file.

Stripes at 32-pixel spacing

640 by 360, stripes, #293145 and #7599ae, spacing 32.

A PNG of diagonal bands alternating the two colors, the band width following that 32-pixel period.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

CSS patterns. It covers stripes, dots, grid, and checks as a background declaration. This page covers those motifs as a PNG, plus the other fills.