Color palette from image
Drop a photo, a logo or a screenshot to get its colors: up to 10, ordered by how much of the picture they cover. The picture stays in your browser and is never uploaded.
How to get a color palette from an image
- Drop an image into the box, choose one from your computer, or paste one with Ctrl + V.
- Get up to 10 colors, from the one that covers the most of the picture to the least.
- Click a color to copy its HEX code, export the palette as CSS variables, Tailwind v4, Tailwind v3 or JSON tokens, or press Copy for Figma and paste the swatches into Figma.
How the colors are chosen
Every pixel of the picture is grouped with the pixels of a similar color, and the largest groups become the palette. Colors that are too close to one already chosen are skipped, so a photo of a blue sky does not give you ten blues. A flat logo gives a few colors; a photo gives more, up to 10. Transparent pixels are ignored.
Your picture stays on your computer
The image is read by your own browser and never uploaded. You can close the page and nothing is kept.
To take the palette of a picture that is on a website, without saving it first, use Colors from image in the Design Toolkit extension: press Shift + C and click the picture. Read Color picker and colors from image.
Take the colors of a picture on any page. With Design Toolkit, press Shift + C and click a picture on any website to get its palette, without saving the image first. How it works
Questions
How do I get a color palette from an image?
Drop the image into this tool, choose a file or paste it. You get up to 10 colors as HEX codes, ready to copy or export.
Is my image uploaded?
No. The picture is read by your browser and never leaves your computer.
Can I use the palette in Figma?
Yes. Press Copy for Figma, click your Figma canvas and paste. The colors arrive as swatches you can use right away.
Can I export the palette to Tailwind?
Yes. Export it as a Tailwind v4 @theme block, a Tailwind v3 config, CSS variables or JSON tokens.