Colour Palette Extractor

Extract the dominant colours from a photo, logo or screenshot. See HEX, RGB and HSL values with coverage percentages and export CSS variables, SCSS, Tailwind or JSON.

Runs locally — nothing is uploaded
Drop an image to extract its colours

JPG, PNG, WebP, SVG · or paste from clipboard · or browse

How to use Colour Palette Extractor

  1. Drop or paste an image.
  2. Choose how many colours and how to sort them.
  3. Click a swatch to copy it, or copy the whole palette as code.

FAQ

How are the colours chosen?

The image is sampled and grouped with k-means clustering, so each swatch is the average of a group of similar pixels and the percentage shows how much of the image it covers.

Why ignore white and black?

Product photos and logos often sit on white or black backgrounds. Skipping near-white and near-black lets the brand colours come through.

About the Colour Palette Extractor

Pull a brand palette from a logo, product photo or mood-board image and copy it as HEX codes or CSS variables. Check text contrast for each colour with the Colour Picker & Converter, build gradients with the CSS Gradient Generator and pick matching typefaces with the Font Pair Generator.

Also useful: Image Filters · Background Remover

Popular searches

People find Colour Palette Extractor by searching for:

  • color palette from image
  • extract colors from image
  • image color picker
  • hex code from image
  • brand color palette generator
  • dominant color finder