How does color extraction from images work?
The image is drawn to an off-screen canvas (downscaled to 200×200 for speed), then pixel data is sampled and quantized into color buckets. The most frequent color buckets become the palette, with near-black and near-white filtered out.
What WCAG contrast check is shown?
Each palette color is checked against white using the WCAG 2.1 relative luminance formula. The contrast ratio is displayed with a grade: AAA (≥7:1), AA (≥4.5:1), AA Large (≥3:1 for large text), or Fail (<3:1).
What export formats are available?
CSS custom properties (:root { --color-1: #hex; }), a Tailwind config snippet for theme.extend.colors, SCSS variable declarations, and a JSON object with hex and RGB values for each color.
Is my image uploaded anywhere?
No. The image is processed entirely in-browser using the HTML5 Canvas API. The pixel data never leaves your device.
Can I edit the palette manually after extracting from an image?
Switch to the Manual Hex tab and paste the hex codes from your extracted palette. You can then add, remove, or change individual colors before exporting.