TOOL · ON YOUR DEVICE
Extract colour palette from image free
Find the colours of a photo, a painting or a brand logo to use in your design, website or posts. Colours come sorted from most to least present.
- Free
- HEX, RGB and CSS
- No image uploads
- Choose an image
- Choose how many colours
- Copy or download
HOW TO USE IT
Three steps.
Choose an image
Drop or choose a JPG, PNG or WebP photo or logo.
Choose how many colours
3 to 12. With few you see the dominant ones; with more, the nuances too.
Copy or download
Copy each HEX code or download the PNG swatch and the CSS file.
NEXT STEP
Keep going with these tools
Colour palette: common questions
How are the colours chosen?
Similar pixels are grouped (the “median cut” method) and each group’s average colour is taken. Transparent pixels do not count.
Why is a small colour missing?
Colours with very little presence merge with nearby ones. Raise the number of colours to see more nuances.
What is the CSS for?
It has each colour as a variable (--color-1, --color-2…) to paste into your stylesheet.
Are my images uploaded to a server?
No. The tool runs inside your browser: files are read and processed on your device and are not sent to Cocuyo or to any third party. You can check it in your browser’s network tools: your file is not sent.
Do I need an account or credits?
The first use needs no account; from the second use you need a free account. This tool uses no credits and no welcome uses, and it has no usage limit.
What are the limits?
JPG, PNG or WebP up to 30 MB and 40 megapixels per file, not animated. Files are processed one at a time so the tab stays responsive, even on a phone.
Why does a color differ a little from the original image?
Before sampling, the image is reduced to 200 pixels on its longest side. Similar pixels are then grouped and each group is replaced by its average color, so the palette shows representative colors rather than every exact pixel. Check the HEX code on screen against your original.
What is in the PNG swatch?
One square for each color, 160 pixels wide, set side by side on a white strip. The HEX code of each color is printed under its square.
What does each color line show?
The HEX code in capitals, the RGB values, and the share of the counted pixels that the color covers. Press “Copy” beside a color to copy its HEX code.
Learn how to…
MORE FREE TOOLS
Other image tools
All free tools
WHEN YOU WANT TO CREATE
Make new images with AI.
Cocuyo’s Studio brings 30+ AI models for image, video and voice together. You see the credit cost before generating, and credits never expire.
































































