Export Palette Swatch Cards (SVG/PNG)

Turn Hex, OKLCH, or named token lists into clean Swiss-style swatch boards displaying Hex, OKLCH, RGB, and contrast pills for specs.

Pure-TS Codec
  • 100% browser-local
  • Zero server transfers
  • CSS Color 4 precision
or drop a color string, CSS/JSON snippet, or file here · Ctrl V to paste · or drop CSS/JSON config · Ctrl+V to paste directly

Instant Before & After Specimen

Vector .SVG + 2x Retina .PNG Export
Input Samplebrand-spec-card.svg
#2563EB, #10B981, #F59E0B, #EF4444, #8B5CF6, #0F172A
Expected OutputOUTPUT
<svg viewBox="0 0 1200 680"><!-- Brand Color Spec Card (HEX, OKLCH, RGB, CMYK) --></svg>

How to use Palette Card SVG / PNG

Palette Card SVG / PNG — cleanly inside your local browser with zero server transfers.

  1. Paste code or drop configPaste CSS variables, Tailwind configs, DTCG JSON, or multi-line Hex lists — or drop a local file.
  2. Adjust conversion formatSelect target syntax (Tailwind v4 @theme, CSS vars, JSON, or ASE) and source-comment options.
  3. Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.

Frequently asked questions

Are exported SVG swatch cards editable in Figma or Illustrator?

Yes — exported SVGs contain clean grouped vector <rect> tiles and native <text> labels ready for Figma.

Can I include WCAG contrast badges on each swatch card?

Enable Show Contrast & OKLCH Labels to print auto-ink contrast scores directly on every tile.