# Extract Color Palettes from Images

> Extract dominant color palettes from any image — HEX, RGB, HSL codes for design inspiration. Batch a folder without sending a single pixel to us.

Live tool: https://lofttools.com/tools/image-tools/color-palette-extractor

Category: Image Tools

## How it works

1. **Select image** — Drop an image to sample colours from, or click to choose one
2. **View palette** — See the extracted dominant colors with HEX, RGB, and HSL values
3. **Copy or export** — Copy individual color codes or export the full palette

## FAQ

### How many colors are extracted?

By default, 5-8 dominant colors are extracted. You can adjust the number of colors from 2 to 16.

### Can I export the palette?

Yes. Export as an image swatch, CSS variables, JSON, or copy individual HEX codes.

### Does this preserve EXIF metadata?

No image is written here — the tool only reads pixels and outputs a palette. Your source file and its EXIF are not touched.

## Privacy

This tool runs entirely in the browser. Files are not uploaded to a server. They never leave the user's device.

## More

- All tools: https://lofttools.com/tools
- Category: https://lofttools.com/tools/image-tools
- LLM index: https://lofttools.com/llms.txt
