Skip to content
LayerShotGet early access

Colour palette extractor

Extracts the dominant colours using k-means clustering, and gives you each one as HEX, RGB and HSL, ready to copy.

Drop an image here

or , or press ⌘V to paste

Processed on your device. Nothing is uploaded.

How to use it

  1. Drop an image in.
  2. Choose how many colours you want.
  3. Click any swatch to copy its value.

Questions

Are my images uploaded anywhere?

No. Everything runs in your browser using the Canvas API — the file never leaves your machine, and the tool keeps working if you go offline after the page loads. There is no account, no queue, and no server-side copy to delete later.

Why do the results shift slightly between runs?

k-means starts from randomly chosen centres, so clusters can settle differently on an image with no clearly dominant colours. Ask for more colours if you want a more stable, finer-grained result.

Related tools

This is one keystroke inside LayerShot

The desktop app captures the screen, applies your styling and puts the result on your clipboard without a browser tab, an upload, or a download folder full of files called Screenshot (3).png. One payment, one Mac and one Windows PC, lifetime updates.