Upload an image to extract its dominant colors. Drag the indicators to pick colors from specific positions.
Drop a file here,
or use Ctrl+V / Cmd+V to paste
The Image Color Extractor finds the main colors of a photo and turns them into a palette of 2 to 16 colors, from the most common to the least. Each color is marked on the photo with a numbered handle: drag a handle to take the color at that spot instead. Copy the HEX or RGB codes, or save the palette as a PNG, CSS, SCSS, JSON or Adobe ASE file. It runs in your browser, so your photo is never uploaded.
Real Color Extractor results. Drag the line to see the palette it found.

PhotoPalette
Upload or drop a photo, paste one with Ctrl+V, or try a sample. JPEG, PNG, WebP, GIF and HEIC all work.
Set how many colors you want, from 2 to 16, and a mood. Each color sits on the photo under a numbered handle; drag one, or click the photo, to take the color at that spot.
Click a HEX or RGB code to copy it, copy all the HEX codes at once, or save the palette as a PNG picture or a CSS, SCSS, JSON or ASE file.
The mood decides which pixels count. Colorful, the default, leaves out greys, whites and blacks, so a white wall or a dark shadow does not take a place in your palette. Bright, Muted, Deep and Dark look for those tones, and None counts every pixel.
A few colors give the overall look of a photo; more pick out its smaller details. The colors are listed from the most common to the least, and the same photo always gives the same palette.
Transparent pixels are left out, so a logo saved as a PNG gives the colors of the logo, not of the background behind it.
| Colors | 2 to 16, from the most common to the least |
|---|---|
| Moods | Colorful, Bright, Muted, Deep, Dark or None |
| Copy | Each color as HEX or RGB; Copy Colors copies all the HEX codes |
| Saves as | PNG, CSS, SCSS, JSON (with HSL and CMYK too) or ASE |
| Price | Free, with no watermark and no sign-up |
| Photo formats | JPEG, PNG, WebP, GIF, HEIC and other images your browser opens |
| Where it runs | In your browser; nothing is uploaded |
Updated November 25, 2026
It shrinks a copy of your photo to 240 pixels on its longest side, sorts the pixels into 4,096 groups of similar color, and joins those into the number of colors you asked for with k-means clustering. The palette lists them from the most common to the least. The mood decides first which pixels count, and transparent pixels are always left out.
The default mood, Colorful, only counts pixels with a clear color, so white walls, grey skies and dark shadows do not crowd out the colors you came for. Choose None to count every pixel, or Muted or Dark to look for those tones.
Yes. Drag a numbered handle, or select one and click the photo, and its color becomes the average of the few pixels under it. On a phone, a loupe above your finger shows what you are taking. The arrow keys move a selected handle in small steps, larger ones with Shift.
PNG, a picture of the swatches with their HEX and RGB codes; CSS variables and classes; SCSS variables; JSON, which also gives each color in HSL and CMYK; and ASE, the Adobe Swatch Exchange format. Copy Colors copies all the HEX codes as one line.
Five is a good start for a design palette: a main color, one or two supporting colors and an accent. Use 2 or 3 to find the overall tone of a photo, and 10 or more to pick out small details, such as the flowers on a market stall.
No. The extractor reads the photo in your browser, so it never leaves your device. HEIC photos from an iPhone are converted in your browser too.
Yes. Once you add a photo it opens as a full-screen editor with the palette under it. Drag a handle with your finger, and a loupe above it shows the color you are taking.