KickSolve • Free • Private

Image Palette Extractor

Add an image and get its main colors as a palette, with HEX codes and how much of the image each color covers. Export as a list, CSS variables, JSON or PNG.

4 to 16 colorsColor share in percentCSS, JSON and PNG export

Drop an image here

or click to browse • paste with Ctrl+V

Choose image
No image handy?

How to use Image Palette Extractor on KickSolve

Three quick steps, no account needed.

Add an imageDrop it onto the box, choose a file or paste it with Ctrl+V. JPG, PNG, WEBP, GIF and SVG work.
Adjust the paletteChoose 4 to 16 colors, how to sort them and whether to ignore white and black.
Copy or downloadClick a swatch for its HEX, or copy the palette as a list, CSS variables or JSON, or download a PNG.

Why choose KickSolve

Built for speed, privacy and clean results.

Private by designYour image is processed in your browser and is never uploaded.
Color share includedSee how much of the image each color covers, not just the colors.
Works for logos and photosIgnore white and black backgrounds and choose from 4 to 16 colors.
Four export formatsHEX list, CSS variables, JSON and PNG with one click.

What you can do with Image Palette Extractor

Everything this tool offers.

Drop, browse or pasteAdd an image by drag and drop, file chooser or Ctrl+V.
Sample imageTry the tool instantly without your own image.
4 to 16 colorsChoose how detailed the palette should be.
Color share in percentSee how much of the image each color covers.
Sort your wayOrder by most used, hue or lightness.
Ignore white and blackSkip plain backgrounds to find the real colors.
Four export formatsCopy HEX, CSS variables, JSON or download a PNG.
Click to copyClick any swatch to copy its HEX code.

About Image Palette Extractor on KickSolve

What it does and how to get the best results.

How the image palette extractor works

Your image is shrunk to at most 200 pixels on its longest side, which keeps things fast and smooths out noise. Transparent pixels are skipped. The remaining pixels are grouped with a median cut method: the group with the widest range of color is repeatedly split at its median until you have the number of colors you asked for. Each group is averaged into one swatch, and its share of all pixels becomes the percentage. Groups that average to the same color are merged. Everything happens in your browser.

Choosing the number of colors

Fewer colors give you a simple, usable palette, while more colors capture subtle shades. Four to six colors suit brand logos and flat graphics. Eight is a good default for photos. Twelve or sixteen colors suit sunsets, gradients and detailed illustrations where many tones matter.

Tips for logos, photos and screenshots

  • Turn on Ignore near white and black when the image has a plain white or black background.
  • Crop the image to the part you care about before extracting colors.
  • Sort by Hue to group similar colors, or by Lightness to see the palette from light to dark.
  • For brand colors, compare the result with the exact pixels using the Image Color Picker.

What you can use an extracted palette for

  • Finding brand colors from a logo.
  • Building a website or app theme from a hero photo.
  • Making mood boards and design inspiration.
  • Matching presentation slides to a product photo.
  • Choosing colors for interiors, fashion and art projects.

Good to know

  • Colors are read as sRGB values, which is what browsers use for images.
  • Swatches are averages of similar pixels, so they can differ slightly from any single pixel.
  • HEIC photos cannot be opened by most browsers. Convert them to JPG first.
  • The JSON export includes HEX, RGB and the percentage for each color.

How many colors to extract

A quick guide to choosing the palette size.

ColorsBest forLevel of detail
4Logos, icons and flat illustrationsLow
6Simple posters and UI screenshotsLow to medium
8Most photos and general useMedium
12Landscapes, gradients and product photosHigh
16Detailed artwork and complex scenesVery high

Frequently asked questions

Quick answers.

How do I extract colors from an image?

Add your image by dropping it, choosing a file or pasting it with Ctrl+V. The tool instantly shows the main colors as swatches with HEX codes and the share of the image each color covers. Click a swatch to copy its HEX.

How many colors should I extract?

Use 4 to 6 colors for logos, icons and flat illustrations, 8 for most photos, and 12 or 16 for gradients, landscapes and detailed artwork. You can change the number at any time.

What does the percentage on each swatch mean?

It is the share of the image pixels that fall into that color group. Transparent pixels are ignored, and with Ignore near white and black turned on, plain white and black pixels are skipped too.

Why is an extracted color not exactly the pixel I see?

Each swatch is the average of a group of similar pixels, so it may not match any single pixel exactly. To read one exact pixel, use the Image Color Picker.

How do I ignore a white or black background?

Turn on Ignore near white and black in the settings. Pixels that are almost pure white or almost pure black are skipped, so the palette shows the real colors of your subject.

Does it work with transparent PNG files?

Yes. Transparent and mostly transparent pixels are ignored, so the palette only reflects the visible parts of the image.

Can I get a palette from a website or video?

Take a screenshot and paste it here with Ctrl+V. The palette is then extracted from the screenshot.

Which image types are supported?

JPG, PNG, WEBP, GIF and SVG work in all current browsers. HEIC works only in some browsers, so convert HEIC photos to JPG first.

What export formats are available?

You can copy a HEX list, copy CSS variables, copy JSON with HEX, RGB and percentage values, or download the palette as a PNG.

Is my image uploaded anywhere?

No. The image is read and processed in your browser and is never sent to a server.

More free tools from KickSolve

Related everyday tools.