SVG Pattern Generator
Choose an SVG motif and set the tile width, gap, offset, mark size and colors. Export the SVG document or pattern definition, a CSS background, or a PNG at the selected size.
Check the Repeat in an SVG Pattern Tile
Vector tile preview
240 × 160 px drawing. Tile repeats every 40 px on both axes before rotation.
The foreground is drawn from editable SVG shapes. The checkerboard in this preview reveals transparent space.
Vector pattern export
Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.
#7D9065rgb(125, 144, 101)hsl(86.512 17.551% 48.039%)rgb(49.02% 56.471% 39.608%)0.4902, 0.5647, 0.3961, 1--color: #7D9065;Color names use standard CSS keywords, such as red or rebeccapurple.
SVG Pattern Generator: how to use it
- Choose a motif or load a preset. Set foreground and background colors or turn on a transparent background.
- Adjust tile size, gap, offset, rotation and drawing dimensions. Check a few repeated marks in the preview.
- Choose an SVG document, CSS background or reusable pattern definition, or download a PNG.
Limits and notes
Drawing dimensions range from 64 to 2,048 px per side. Tiles range from 12 to 240 px before any gap. Colors are sRGB, with alpha support. Image and CSS generation run locally.
How your privacy works →SVG Pattern Generator: common questions
What stays editable in the SVG?
The document includes the native pattern definition, its geometry and a rectangle that uses it as a fill. Open the SVG in a vector editor or change its shape attributes.
How do the tile side and tile gap combine?
They add to give the repeat distance before rotation. A 32 px tile with an 8 px gap repeats every 40 px along each local axis.
Does the CSS background need a separate SVG file?
The CSS embeds the pattern as a data URI. Its coordinate system fills the destination box and repeats the vector motif inside it.