Skip to content
faker.tools
All 79

Plate V · Media, Image & Asset Placeholders

SVG Pattern Generator

Tileable background patterns as SVG, data URI or a ready CSS rule.

svg
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><rect width="240" height="240" fill="#ece9f1"/><line x1="0" y1="0" x2="-240" y2="240" stroke="#2528b6" stroke-width="3.8"/><line x1="14" y1="0" x2="-226" y2="240" stroke="#2528b6" stroke-width="3.2"/><line x1="28" y1="0" x2="-212" y2="240" stroke="#2528b6" stroke-width="1.9"/><line x1="42" y1="0" x2="-198" y2="240" stroke="#2528b6" stroke-width="2.5"/><line x1="56" y1="0" x2="-184" y2="240" stroke="#2528b6" stroke-width="3.2"/><line x1="70" y1="0" x2="-170" y2="240" stroke="#2528b6" stroke-width="1.8"/><line x1="84" y1="0" x2="-156" y2="240" stroke="#2528b6" stroke-width="3"/><line x1="98" y1="0" x2="-142" y2="240" stroke="#2528b6" stroke-width="1.3"/><line x1="112" y1="0" x2="-128" y2="240" stroke="#2528b6" stroke-width="1.7"/><line x1="126" y1="0" x2="-114" y2="240" stroke="#2528b6" stroke-width="3.9"/><line x1="140" y1="0" x2="-100" y2="240" stroke="#2528b6" stroke-width="1.3"/><line x1="154" y1="0" x2="-86" y2="240" stroke="#2528b6" stroke-width="2"/><line x1="168" y1="0" x2="-72" y2="240" stroke="#2528b6" stroke-width="3.4"/><line x1="182" y1="0" x2="-58" y2="240" stroke="#2528b6" stroke-width="3.3"/><line x1="196" y1="0" x2="-44" y2="240" stroke="#2528b6" stroke-width="1.6"/><line x1="210" y1="0" x2="-30" y2="240" stroke="#2528b6" stroke-width="3.5"/><line x1="224" y1="0" x2="-16" y2="240" stroke="#2528b6" stroke-width="3.4"/><line x1="238" y1="0" x2="-2" y2="240" stroke="#2528b6" stroke-width="2.4"/><line x1="252" y1="0" x2="12" y2="240" stroke="#2528b6" stroke-width="2"/><line x1="266" y1="0" x2="26" y2="240" stroke="#2528b6" stroke-width="2"/><line x1="280" y1="0" x2="40" y2="240" stroke="#2528b6" stroke-width="4"/><line x1="294" y1="0" x2="54" y2="240" stroke="#2528b6" stroke-width="1"/><line x1="308" y1="0" x2="68" y2="240" stroke="#2528b6" stroke-width="1.7"/><line x1="322" y1="0" x2="82" y2="240" stroke="#2528b6" stroke-width="2.2"/><line x1="336" y1="0" x2="96" y2="240" stroke="#2528b6" stroke-width="3.6"/><line x1="350" y1="0" x2="110" y2="240" stroke="#2528b6" stroke-width="2.5"/><line x1="364" y1="0" x2="124" y2="240" stroke="#2528b6" stroke-width="2.5"/><line x1="378" y1="0" x2="138" y2="240" stroke="#2528b6" stroke-width="2.7"/><line x1="392" y1="0" x2="152" y2="240" stroke="#2528b6" stroke-width="1.4"/><line x1="406" y1="0" x2="166" y2="240" stroke="#2528b6" stroke-width="1.1"/><line x1="420" y1="0" x2="180" y2="240" stroke="#2528b6" stroke-width="2"/><line x1="434" y1="0" x2="194" y2="240" stroke="#2528b6" stroke-width="1.1"/><line x1="448" y1="0" x2="208" y2="240" stroke="#2528b6" stroke-width="1.8"/><line x1="462" y1="0" x2="222" y2="240" stroke="#2528b6" stroke-width="3.9"/><line x1="476" y1="0" x2="236" y2="240" stroke="#2528b6" stroke-width="2.5"/></svg>
1 lines · 2.7 KBGenerated in your browser · SVG Pattern Generator

A background pattern that ships as a data URI needs no network request, no build step and no separate file. Pick a style, set the colours, and take the finished CSS rule.

What you can control

  • Six pattern styles with different visual weights, from a light dot grid to heavy triangles.
  • Leave the colours blank and they derive from the seed, keeping a set of patterns visually related.
  • Three output modes: raw SVG for editing, a data URI for embedding, or a complete CSS rule to paste.
  • Tile size is adjustable, and every pattern repeats seamlessly at that size.

What this is not

Base64 encoding adds about a third to the file size. For a pattern much above 5 KB, a separate .svg file will load faster than an inline data URI.

Questions

Do these tile seamlessly?

The stripe, dot and grid patterns do. Triangles and blobs are placed at random within the tile, so their edges will show a seam if you look for it.

Should I use a data URI or a file?

Data URI for small patterns — it saves a request. Separate file above roughly 5 KB, where the base64 overhead outweighs the saved round trip.

Can I recolour these later?

Only by regenerating, since colours are baked into the encoded SVG. Take the raw SVG output if you want to edit the fills by hand.

Next in Media

All 8