Skip to content

Color palette extractor

Pull the dominant colours from any image as hex swatches — copy one, or export the whole palette — on your device.

Colours read on your device — nothing is uploaded

Runs in your browser. Files are never uploaded — you can go offline after the page loads.

How to use the Color Palette Extractor

  1. Drop an image — colours are read instantly.
  2. Slide to pick 2 to 12 colours.
  3. Copy a hex, or export PNG / CSS / JSON.

Easy to use

Drop files, pick options, download. Whole folders at once, no signup, no daily limit.

Best quality

The same engines the professionals use — SVGO, resvg, MozJPEG, libwebp, libavif — compiled to run in your browser.

Private & secure

Files are processed on your device and never uploaded. Close the tab and nothing remains anywhere.

The colours in any photo, as hex

Drop a photo, a screenshot or a piece of artwork and pull its dominant colours as clean hex swatches. A median-cut algorithm splits the image into balanced colour buckets and averages each, so you get a representative palette — not just the handful of most common pixels — anywhere from two to twelve colours.

Click any swatch to copy its hex, or export the whole palette as a PNG strip, a block of CSS custom properties, or a JSON array to drop straight into code. It all runs in your browser. Pair it with the colour picker and colour converter.

Frequently asked questions

How are the colours chosen?

A median-cut algorithm splits the image’s colours into balanced buckets and averages each, giving a representative palette rather than just the most frequent pixels.

Can I use these in code?

Yes — export the palette as CSS custom properties or a JSON array, or copy any single hex with a click.

Is my image uploaded?

No — colours are read on a canvas in your browser.

Your files never leave your device

Most online converters upload your file to a server. InfyTool ships the actual encoders to your browser as WebAssembly instead, so processing happens inside your tab — faster for batches, and nothing to delete afterwards.

  • No upload, ever. Turn off Wi-Fi after the page loads and every tool keeps working.
  • No limits. No file-size cap, no queue, no watermark, no account.
  • Runs on your CPU. Batches use several cores in parallel; nothing is throttled.

More free tools

Need graphics to work with?

InfyTool is built by the same team as these free libraries.