Pull a paint palette from any image
You want the main colors of a reference written down to mix from.
Click a swatch to copy its HEX code. Screen colors are a starting point — mix paint by eye.
This page finds the main colors of a picture and writes each one as a HEX and an RGB value. Click a swatch to copy its code, or download the whole palette as a small PNG.
The picture is read in your browser and is not sent anywhere.
How many colors to ask for
The slider runs from 3 to 8. Each count suits a different job:
| Colors asked | What you get | Best for |
|---|---|---|
| 3 | the dominant trio only | bold posters, limited palettes |
| 5 (default) | a balanced reading of the scene | most paintings and designs |
| 8 | the quieter supporting colors | rich scenes, gradients, skin and cloth |
A photo never yields more distinct colors than it holds — a picture of pure red, green, and blue asked for 8 returns 3 swatches, honestly.
What it is used for
Building a painting palette. Five swatches from a reference become the five puddles on the palette — every other color is a mix of neighbors.
Design and web work. HEX codes copy straight into CSS, brand boards, and mockups, and the PNG drops into a style guide.
Color-matching a series. Extract palettes from every reference in a set to see which colors repeat — and which one painting drifts.
Checking a photo’s color cast. A palette that should hold neutrals but reads orange tells you the white balance is off before you paint from it.
Tips for palettes that actually work
Sample the scene, not the thumbnail. A sharp, well-lit crop gives cleaner groups than a dark, noisy one.
Ask for more, then edit down. An 8-color pull shows the supporting colors; ignore the two you do not need.
Treat HEX as a direction. Screen colors glow; paint reflects. Match the value and the temperature first, and let the exact hue drift.
Keep the PNG with the project. The palette file carries the codes, so the colors survive long after the reference photo is renamed or lost.
How to read the result
- Swatches
- The colors that best stand for the picture. A picture with fewer distinct colors gives fewer swatches than you asked for.
- HEX and RGB
- Two ways of writing the same color. HEX is what design software uses, and RGB gives the red, green, and blue amounts.
A sunset photo with 5 colors
Five swatches appear from the deep blue at the top to the orange near the horizon. Each one can be copied as a six-digit HEX code.
A picture of pure red, green, and blue
Ask for 8 colors and you get 3, because the picture holds only three.
Use this next:Paint from those colors as flat blocks in the picture
How to use it
- 01
Choose a JPEG, PNG, or WebP image. It stays in your browser.
- 02
Pick how many colors to find, from 3 to 8. The default is 5.
- 03
Read each swatch with its HEX and RGB values. Click a swatch to copy its HEX code.
- 04
Download the palette as a PNG. It holds the swatches and their codes only.
Limits
- The colors come from a median cut of the picture, done in your browser. No service is called.
- The palette PNG never contains the original image.
- This page does not match paint brands, build color schemes, or name printing spot colors.
Questions
Why did I get fewer colors than I asked for?
The picture does not hold that many distinct colors. The page never invents a color to fill the list.
Why does nothing happen when I click a swatch?
Some browsers block the clipboard. The page then selects the HEX code as text so you can copy it with Ctrl+C or Cmd+C.
Will these colors match my paint?
Not on their own. Screen colors are light and paint is pigment. Use the values as a starting point and mix by eye.
What is a median cut, in plain words?
The picture's colors are gathered into groups, each group is split at its middle until the count you asked for is reached, and every group ends as one swatch drawn from its own colors.
Can I copy the whole palette at once?
The swatches copy one at a time — click each for its HEX. The PNG download carries every swatch with its code written beside it.
Why do similar photos give similar palettes?
The palette is the picture's color DNA. Two crops of the same scene share their dominant groups, which is why a palette travels well between related references.