SVGパターン生成

背景用の繰り返しSVGパターンを生成

ブラウザ処理データはブラウザの外に出ることはありません

Pattern Type

Pattern Settings

Pattern Size20px
Stroke Width2px
Dot Size4px
Rotation

Colors

Background:
Pattern:
Pattern Opacity20%

Preview

SVG Pattern Code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20">
  <rect width="100%" height="100%" fill="#ffffff" />
  <pattern id="pattern" width="20" height="20" patternUnits="userSpaceOnUse">
    <circle cx="10" cy="10" r="4" fill="#000000" fill-opacity="0.2" />
  </pattern>
  <rect width="100%" height="100%" fill="url(#pattern)" />
</svg>

CSS Background

background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%3E%0A%20%20%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%3Cpattern%20id%3D%22pattern%22%20width%3D%2220%22%20height%3D%2220%22%20patternUnits%3D%22userSpaceOnUse%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224%22%20fill%3D%22%23000000%22%20fill-opacity%3D%220.2%22%20%2F%3E%0A%20%20%3C%2Fpattern%3E%0A%20%20%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%23pattern)%22%20%2F%3E%0A%3C%2Fsvg%3E");
background-repeat: repeat;

About SVGパターン生成

背景用の繰り返しSVGパターンを生成

Use this free online svgツール tool to work faster without installing extra software. The interface is built for quick input, clear output, and straightforward results on desktop and mobile devices.

Processing

This tool runs in your browser whenever possible, which keeps your inputs private and reduces unnecessary round-trips to the server.