# 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 — what we do not do

This tool runs entirely in the browser via WebAssembly. Your file never reaches a Loft Tools server. Specifically:

- **No upload.** The file bytes load into the browser tab's memory and process on your own CPU. Open DevTools → Network and observe zero outbound requests carrying file data while Extract Color Palettes from Images runs.
- **No AI training on your file.** Loft does not train models. We could not train on a file we cannot see.
- **No content scanning.** No virus, copyright, or content-moderation pass against your file. The bytes are not accessible to us.
- **No server-side log of file contents, filenames, or EXIF metadata.** Cloudflare edge captures URL and truncated IP for abuse defense (standard CDN behaviour). Cloudflare Web Analytics records anonymous page hits, no cookies, no PII. Nothing about your file content reaches any log.
- **No retention.** Close the tab and the file leaves browser memory. No backups exist on our side because no copy ever existed on our side.
- **No account.** No email, no signup, no auth, no telemetry tied to you.
- **Offline-capable after first visit** (PWA). Once you've loaded a tool, it caches; later sessions work without internet. For high-sensitivity files, run the tool once online to warm the cache, then disconnect before processing.

Compare with upload-based services: each transmits your file to a processing server. Even over HTTPS, each has logs, retention windows, and subpoena exposure. Loft has none of these because the server architecture does not include your file.

## More

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