Search FreeImageKit

Jump to any private image tool or workflow

Image Palette Extractor

Extract a 3 to 16 color dominant palette from an image in your browser and export it as CSS, SCSS, Tailwind, JSON, PNG or ASE.

Runs on this deviceFree · no watermarkNo sign-up

Quick answer

FreeImageKit extracts a colour palette from an image for free, in your browser, without uploading it. Choose 3 to 16 colours (6 by default), sort them by how common they are, by hue or from dark to light, lock the ones you like and re-extract the rest. Click a swatch to copy its HEX value, and export the palette as CSS custom properties, SCSS variables, a Tailwind config, JSON, a plain HEX list, a PNG swatch sheet or an Adobe Swatch Exchange (.ase) file. Transparent pixels are ignored, and flat images may return fewer colours than requested.

How to use this tool

  1. Select or paste a JPG, PNG, WebP or AVIF image.
  2. Choose 3 to 16 colours, sort them, and lock colours before re-extracting the rest.
  3. Click a swatch to copy it, or copy or download the palette as CSS, SCSS, Tailwind, JSON, HEX, PNG or ASE.

Private by default

Processing happens inside your browser. We do not send files to an image-processing server.

Purpose-built

Focused controls make this task quick without changing the original content.

Frequently asked questions

How many colours can I extract?

Between 3 and 16. The default is 6.

Which export formats are there?

CSS custom properties, SCSS variables, a Tailwind theme.extend.colors snippet, JSON, a HEX list, a PNG swatch sheet labelled with HEX values, and Adobe .ase swatches.

What does locking a colour do?

Locked colours stay in the palette when you re-extract or change the count; only the unlocked colours are chosen again.

Why did I get fewer colours than I asked for?

Flat images with few distinct colours may return fewer, and transparent pixels are ignored.

Is my image uploaded?

No. The palette is computed in your browser.

Is it free?

Yes, with no watermark and no sign-up.

Last updated