Color Palette from Image
Extract the 3-12 dominant colors of an image and export them as CSS, JSON or ASE.
Your image never leaves your device.
JPG, PNG, WebP, AVIF
How to use the Color Palette from Image
- Drop an image: a photo, a screenshot, a logo or a frame from a video.
- The palette appears at once. Pick how many colors, and Dominant, Vibrant or Muted.
- Copy any color as HEX, RGB or HSL, or download the palette as CSS, JSON, ASE or a PNG card.
Why use this
- Fast. Your file is processed on your device, so there is no upload and no queue.
- Private. Your files never leave your device.
- Free, with no sign-up and no watermark.
Questions
How are the colors chosen?
The image is scaled down and its pixels are grouped by color with k-means in Oklab, a color space where equal distances look equally different. Each color is the average of its group, and the % is how much of the image it covers.
What do Vibrant and Muted do?
Vibrant looks only at colorful pixels, for accents and brand colors. Muted looks at the quiet ones, for backgrounds and text. Dominant looks at everything.
Why are white and black left out?
A plain background or deep shadows would crowd the palette with near-white and near-black. Pick Include to keep them.
How do I use the ASE file?
In Photoshop or Illustrator, open the Swatches panel menu and choose Import Swatches (or Open Swatch Library > Other Library), then pick the .ase file.
Is my image uploaded?
No. The colors are found in your browser.