1001Ferramentas
🏁 Generators

Checker Pattern SVG Generator

Create a configurable checker (chessboard) SVG pattern with two colors and cell size, perfect for backgrounds and fallbacks.


  

Checker pattern SVG: from F1 finish line to Photoshop alpha channel

The checker (or checkerboard) pattern is one of the few geometric motifs that crosses sport, design, software UI and fine art without losing meaning. In motorsport, the black-and-white checker has signalled race finished since at least 1906 at the Vanderbilt Cup. In digital imaging, a tiny gray-and-white checker is the universal indicator that a pixel has alpha transparency. In fashion, the Vans shoe brand built its identity around it. This generator focuses on producing that same pattern as a clean, infinitely scalable SVG you can drop into web pages, icons or design mock-ups.

The SVG construction is unusually compact β€” two squares offset diagonally inside a <pattern> tile, then repeated:

<svg width="100%" height="100%">
  <defs>
    <pattern id="ck" width="32" height="32" patternUnits="userSpaceOnUse">
      <rect width="16" height="16" fill="#fff"/>
      <rect x="16" y="16" width="16" height="16" fill="#fff"/>
      <rect x="16" width="16" height="16" fill="#ccc"/>
      <rect y="16" width="16" height="16" fill="#ccc"/>
    </pattern>
  </defs>
  <rect width="100%" height="100%" fill="url(#ck)"/>
</svg>

The Photoshop alpha-channel checker

When you open a transparent PNG in Photoshop, GIMP, Figma or any image editor, the empty pixels are rendered against a 16 Γ— 16 px light-gray-and-white checker. The convention dates from Photoshop 1.0 in 1990 and is now so universal that designers see it as "the colour of nothing". The widely-used hex pair is #ffffff and #cccccc, gentle enough not to compete with the image foreground. The same pattern is the right pick for any UI that needs to signal "this is the transparent background" β€” colour pickers, asset libraries, logo previews.

Sizing for context

Cell size completely changes the personality of the pattern. 2–4 px reads as fine noise, useful for subtle UI separators. 8–16 px is the sweet spot for "transparency indicator". 32–64 px evokes the racing flag or a Mod-1960s floor tile. >100 px becomes a bold graphic statement β€” think album art or fashion editorial. For a chessboard layout, the convention is 8 Γ— 8 cells regardless of the absolute size; international draughts uses 10 Γ— 10.

Crisp edges and anti-aliasing

At very small cell sizes, some browsers anti-alias the rectangle edges and the checker looks blurry. The fix is the SVG-native attribute shape-rendering="crispEdges" on the <rect> elements. For CSS-only versions, the same effect can be achieved with two stacked linear-gradient backgrounds at 45Β° with hard colour stops β€” but SVG remains the cleanest option when you also need to inline-style or export the asset.

Cultural and brand uses

  • Formula 1 finish flag β€” typically 6 Γ— 4 cells, 50 cm side, since 1906.
  • 1960s Mod design β€” black-and-white checker floors of UK pubs and Swinging London boutiques.
  • Vans (1977) β€” the slip-on sneaker's checker became the brand's signature.
  • Op-Art (Bridget Riley) β€” distorted checker grids produced the foundational works of 1960s optical art at MoMA and the Tate.
  • Skateboarding and ska subcultures β€” the 2-Tone label (1979) revived the pattern as a symbol of racial unity.
  • Yin-yang duality β€” the alternating colours read as a clean visual metaphor for complementarity.

Performance and accessibility

SVG <pattern> is exceptionally efficient β€” the browser only renders one tile and replicates it via the rasteriser. As a CSS background-image, the same pattern url-encoded weighs under 300 bytes. If you animate the pattern (e.g. a hover scale), wrap the animation in prefers-reduced-motion. Mark purely decorative checker backgrounds with aria-hidden="true".

FAQ

What's the ideal cell size for a UI transparency indicator? 16 px is the de facto industry standard (Photoshop, Figma, Sketch). Drop to 8 px for compact tools like colour pickers.

Should both colours be exactly 50/50? Yes β€” a chess or alpha-indicator checker is always two squares of identical size per tile. Asymmetric grids belong to other patterns.

Can I animate the pattern? Yes, but sparingly. A subtle hover scale or colour shift works; do not loop a moving checker as a background β€” it will trigger motion sensitivity.

Why does my small checker look fuzzy? Browser anti-aliasing. Add shape-rendering="crispEdges" to the SVG <rect>s, or switch to integer pixel sizes.

Related Tools