# Palette Extractor

> Pull the main colors out of a photo. Runs entirely in your browser — your image is never uploaded.

Source: https://toffeekit.com/tools/color-palette-from-image

**Category:** [Images](https://toffeekit.com/category/images) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/color-palette-from-image

**Also useful for:** palette, colors, extract, scheme

## How it works

1. Drop an image or click to choose one.
2. Drag the Colors slider between 3 and 12 to set how many colors to find.
3. Click a swatch's copy button to copy its HEX code.
4. Use Copy as CSS variables, Copy as JSON or Download palette PNG to export all of them.

## FAQ

### How do I get the colors from an image?

Drop the image and the tool lists its main colors as swatches with HEX codes. Change the Colors slider to find more or fewer.

### How do I use a photo to choose a website color scheme?

Extract a palette of 5 to 6 colors, then copy them as CSS variables and paste them into your stylesheet.

### How many colors should I extract?

Five or six is a common palette size. Use 3 for a minimal scheme and up to 12 for a detailed picture.

### Can I save the palette?

Yes. Download palette PNG saves it as an image, and you can also copy it as CSS or JSON.

### How is this different from the Image Color Picker?

The picker returns one exact pixel you click on. The palette extractor finds the main colors across the whole image for you.

### Is Palette Extractor free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

## Privacy

Palette Extractor runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Image Compressor](https://toffeekit.com/tools/image-compressor) — Shrink JPG, PNG and WebP files without visible loss.
- [Image Resizer](https://toffeekit.com/tools/image-resizer) — Resize by pixels, percent or longest side.
- [Image Cropper](https://toffeekit.com/tools/image-cropper) — Crop freely or to 1:1, 4:5, 16:9 and more.
- [Rotate Image](https://toffeekit.com/tools/image-rotator) — Rotate by 90° steps or any angle.
- [Flip Image](https://toffeekit.com/tools/flip-image) — Mirror an image horizontally or vertically.
- [Image Converter](https://toffeekit.com/tools/image-converter) — Convert between JPG, PNG and WebP.

