Image Palette Extractor

Extract up to five dominant colours from a local image without uploading it.

Your image stays in this browser.PNG, JPEG and WebP files up to 10 MB are sampled locally and are never uploaded.

How to use this tool

  1. Choose a PNG, JPEG or WebP image up to 10 MB, review its local preview, then select a colour to copy its HEX code.
  2. Review the live result and use Copy result when you need to share it.

How the transformation works

The browser scales the image to a bounded canvas, groups nearby RGB pixels and ranks the most populated colour groups. Transparent pixels are ignored. Processing runs entirely in this browser. The page does not upload, persist, execute or remotely inspect the supplied content.

Processing rules

The browser scales the image to a bounded canvas, groups nearby RGB pixels and ranks the most populated colour groups. Transparent pixels are ignored. Processing runs entirely in this browser. The page does not upload, persist, execute or remotely inspect the supplied content.

Step-by-step transformation

  1. Choose a PNG, JPEG or WebP image up to 10 MB, review its local preview, then select a colour to copy its HEX code.
  2. The browser scales the image to a bounded canvas, groups nearby RGB pixels and ranks the most populated colour groups. Transparent pixels are ignored. Processing runs entirely in this browser. The page does not upload, persist, execute or remotely inspect the supplied content.
  3. Check the displayed result, then copy it if needed.

Worked example

A five-colour graphic produces five visual swatches with copyable HEX and RGB values.

Risk guidance

Frequently asked questions

Does this tool send my inputs anywhere?

No. The interactive calculation runs in your browser and this site does not submit tool inputs to a backend.

How should I use the result?

Check that the entered units and values match your situation, especially around dates, breaks, and rounding.

Related tools