Image color extractor

Drop a photo to see its main colors, and click anywhere on it to pick an exact shade.

Sealed on this device

Runs in your browser. Nothing is uploaded.

Sealed

How it works

  1. Add an image

    Drop a photo, a screenshot or an illustration, choose it from your device, or paste it with Ctrl+V.

  2. See its main colors

    The palette appears in a moment, from the most to the least present color. Choose how many colors you want.

  3. Copy the codes

    Copy one color, all of them, or the whole palette as CSS. Click the image to pick any precise pixel.

Frequently asked questions

Is my image uploaded?

No. The image is read and analyzed by your browser, on your device. It’s never sent to a server, so you can safely use private photos or unreleased designs.

How are the main colors chosen?

The tool groups similar pixels with a clustering method called k-means, working in a color space that matches human vision (OKLab). Each group becomes one color of the palette, and its share shows how much of the image it covers.

Why doesn’t the palette include a tiny bright detail?

The palette focuses on colors that cover a meaningful part of the image. A small detail can be absorbed into a nearby color. Increase the number of colors, or click the detail on the image to pick its exact color.

Are transparent areas taken into account?

No. Transparent and mostly transparent pixels, such as the background of a PNG logo, are ignored so they don’t skew the palette.

Which image formats are supported?

Any format your browser can display: JPG, PNG, WebP, GIF and BMP everywhere, and AVIF in recent browsers. For HEIC photos from an iPhone, convert them to JPG first.

Install One For All on your computer

One For All then opens in its own window, like an app, straight from your desktop or home screen. Nothing to download from a store, and your files still stay on your device.

  1. Click the install icon at the right of the address bar, or open the browser menu (⋮).
  2. Choose “Install One For All” or “Install page as app”: a shortcut is added to your desktop and your apps.

Download this tool’s engine?

This tool works entirely in your browser. To do that, it needs to download the items below from One For All, just once. They are then kept on this device, so next time the tool starts right away.

Your files are never sent anywhere.