Skip to main content
COLOUR · EXTRACTED IN YOUR BROWSER

Colour palette extractor

Drop in an image and get its colours back: hex codes, how much of the picture each one holds, and whether black or white text will read on it. The file never leaves your browser.

FREE · NO ACCOUNT · NOTHING IS UPLOADED · UP TO 8 SWATCHES

Palette extractor

Everything below runs on your own machine. The image is read locally and sampled, and no request leaves this page.

Read locally and never uploaded. Nothing is stored, so reloading the page clears it.

WHY THIS ONE

A palette that keeps the small bright colour

Colours are grouped by median cut at their widest gap rather than counted by frequency, so a small vivid area keeps its own swatch instead of being averaged into the background.

The image stays with you

No upload, no queue, and no copy of your work sitting on a server. The file is read through a local URL and sampled on a canvas in your own browser.

The accent survives

Colours are split by median cut at the widest gap rather than at the median pixel count, so a small saturated area holds its own box instead of dissolving into the ground behind it. That is usually the colour worth having.

You find out what reads

Every swatch carries the WCAG contrast ratio it gives black and white text. A palette you cannot put a caption on is a mood board, and knowing that before you design is cheaper than finding out after.

PAST THE PAGE

A palette is worth more across twenty images than in one.

One image with good colour is luck. The same colours named in every prompt in a set is a look — and it is the cheapest kind of consistency to buy, because it costs nothing but the words.

  • Lift a palette from a reference, a photograph, or a frame of your own footage.
  • Paste the same line into every prompt in the set — an image costs 20 credits, so a set of six is cheap to try twice.
  • In many countries a new account gets 100 free starter credits, no card. Unused starter credits expire 72 hours after they are granted.

This page is free and needs no account. Generating images is a billed mode; the pricing page lists what an image costs.

See how the Image Studio works

QUESTIONS

Palettes, answered

Is the palette extractor free?

Yes, and there is no account. The whole thing runs in your browser — no request is made and nothing is generated, so it costs us nothing to serve. Generating images from the palette afterwards is separate and billed.

Is my image uploaded anywhere?

No. The file is read through a local browser URL, drawn to an offscreen canvas and sampled there. It is never sent to us or to anyone else, nothing is stored, and closing the tab is all the cleanup there is.

How are the colours chosen?

By median cut. The pixels start in one box, the box is split repeatedly along whichever colour channel it spans most widely, and each final box contributes its average. Splitting at the widest gap rather than at the median pixel count is what keeps a small bright accent from being averaged into a large dull background.

How do I use a palette in a prompt?

Copy the prompt line and paste it into every prompt in a set, unchanged. Naming the same few colours each time is the cheapest way to make a group of generated images look like they belong together. Expect the colours to be honoured as a direction rather than matched to the hex code.

What do the contrast numbers mean?

They are WCAG contrast ratios, from 1:1 to 21:1, for black or white text on that swatch — whichever of the two reads better. As a working bar, small text wants at least 4.5:1 and large headings at least 3:1. A swatch below that is a background, not a place for words.

Should I take three, five or eight colours?

Five is the working size: a ground, two mids, a highlight and an accent. Three is for a strong graphic look with nowhere to hide, and 8 is for reading an image rather than designing from it — past five, most of the extra swatches are neighbours of ones you already have. You can switch between 3, 5, 8 without re-reading the file.

PALETTE IN HAND

You have the colours.Now use them twenty times.

Take the line into the Image Studio and run a set with it. The consistency shows up across the group, which is the only place it can.