NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 35 · M16 · Images / Media · Updated Nov 2026

Palette Extractor

Extract dominant colours from a local image, preview swatches and export CSS variables or JSON.

Browser Free No sign-up
How it works
100www.dev/tools/palette-extractor

Upload an image

Extract dominant colours locally. Click a swatch to copy its HEX value.

What it does

A palette summarises an image’s colour mood for themes, charts and brand checks. This tool samples a local image, clusters dominant colours and exports CSS variables or JSON.

How it works

Upload a local image.

Choose how many colours to extract.

Click Palette to sample dominant colours.

Click a swatch to copy HEX, or export CSS/JSON.

When to use it

  • Build a theme from a hero image.
  • Check brand color consistency across assets.
  • Pick chart colors that match a photo.

Glossary

Quantisation
Grouping similar colors into buckets.
Palette
A small set of representative colors.
Hex color
A six-digit RGB value such as #1a2b3c.

Frequently asked questions

Can I change the number of colours?+

Yes. Choose between 3 and 10 colours before extracting.

Are the hex values exact?+

No. They are quantised buckets, so a bucket may combine several nearby colors.

Is transparency handled?+

Fully transparent pixels are skipped; partially transparent pixels are counted with their RGB value.

Why only six colors?+

Six is enough for a theme or chart and keeps the result readable.

Is the image uploaded?+

No. Decoding and sampling happen in your browser.

Can I use this for accessibility contrast checks?+

Use the palette as a starting point, then calculate contrast ratios for the actual text and background pairs.

API & MCP

No API endpoint

This tool runs entirely in your browser. It is not available over the REST API or MCP.

Shareable result

https://100www.dev/tools/palette-extractor?u=https%3A%2F%2Fexample.com%2Fimage.jpg

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.