Colour Palette Extractor

Pull the dominant colours out of any picture.

Drop your file here

or

Choose File

JPG, PNG, WebP, GIF, BMP · Upload a file up to 40 MB

Your files are secure and private. Everything is processed on your device.

How it works

  1. Upload an imageA photograph, screenshot, artwork or logo.
  2. Choose how many coloursSix is a good default for a usable palette.
  3. Copy the valuesHEX, RGB, HSL and CSS variables.

What this tool does

  • Colours grouped by how much of the image they actually occupy
  • Each swatch given as HEX, RGB and HSL with its share of the image
  • Downloads as a CSS file of custom properties
  • Option to ignore near-black and near-white backgrounds

Supported formats

  • JPG
  • PNG
  • WebP
  • GIF
  • BMP

Maximum file size: 40 MB.

Frequently Asked Questions

Privacy and security

Your file is read directly from your device and processed in your browser. It is never uploaded to a server, so there is no copy for us to keep, share or lose. Closing the tab discards everything. If you want to check this yourself: open your browser’s developer tools, switch to the Network tab, and use the tool — you will see no request carrying your file or input leave the page.

Related tools

View all tools →