design utility
Image Palette Extractor
Sample an image locally and extract a small palette with CSS variables and contrast notes.
Extract a palette from an image
Load an image, sample its colours locally and copy CSS variables. No image is uploaded and no third-party colour service is used.
JPEG, PNG or WebP up to 25 MiB.
Palette
CSS variables
How it works
Load an image, sample its opaque colours locally and produce a compact palette with hex values, sample counts, black-text contrast ratios and CSS custom properties. No upload and no third-party colour service.
Limits
- Palettes are sampled/quantised, not a perceptual or brand-approved colour analysis.
- Transparent pixels are ignored and very small images may produce fewer colours.
- Contrast notes use black text only; verify WCAG pairs with the Contrast Checker.
Questions
Is the image uploaded?
No. Sampling happens on a canvas in this browser tab.
Is this a brand colour analysis?
No. It is a sampled/quantised palette, not a perceptual or brand-approved colour system. Check important pairings with the Contrast Checker.
Privacy
Usage measurement is off for this tool. This page makes no analytics request. Your input is not sent to a server.