Click the photo to add the exact color under the pointer.
Palette 5 colors
A starter palette - drop an image to make your own.
Drop any image and get its color palette in a second. Lock the colors you love, shuffle the rest and export CSS, Tailwind, PNG, SVG or ASE - or send a color straight to the Gradient Generator and the Contrast Checker.
Something went wrong. Please try again.
Still having trouble? Please contact us and we'll be happy to help!
Click the photo to add the exact color under the pointer.
Palette 5 colors
A starter palette - drop an image to make your own.
No image yet? Switch to From a color, type your brand color and the tool builds a matching palette around it.
The big areas plus the small accents that catch your eye. A good start for almost any image.
Strictly by area - what you would see if you squinted. Great for backgrounds and brand matching.
Saturated, punchy colors. Use them for buttons, highlights and calls to action.
Soft, dusty and neutral tones. Perfect for calm layouts, text and large surfaces.
| Format | Best for | Opens in |
|---|---|---|
| CSS / SCSS | Websites - variables you reuse everywhere | Any code editor |
| Tailwind | Tailwind CSS projects | tailwind.config.js |
| JSON | Apps, scripts and design tokens | Any code editor |
| PNG / SVG | Sharing, mood boards, client previews | Browsers, Figma, Canva |
| ASE | Adobe swatches | Photoshop, Illustrator, InDesign |
| GPL | Open-source graphics apps | GIMP, Inkscape, Krita |
Want a lighter palette card? Shrink the PNG with PNG to WEBP.
Drop a photo, logo or screenshot on the page, paste it with Ctrl+V or try one of the samples. The palette appears straight away.
Change the number of colors, lock the ones you like and press Regenerate to shuffle the rest. Then copy the code or download the palette.
The tool uses k-means clustering, a classic machine-learning method. It groups the pixels of your image into clusters of similar colors, measured in the OKLab color space so that "similar" matches what your eyes see.
The center of each cluster becomes a palette color, and the percentage under each swatch shows how much of the image it covers. Need the code of one exact pixel instead? Use the Image Color Picker.
Dominant picks the colors that cover the most area. Balanced covers the main areas too, but gives small, colorful accents a fair chance.
Vibrant goes after saturated, eye-catching colors, and Muted after soft, dusty and neutral tones.
Click the lock icon on any swatch, then press Regenerate. Locked colors stay where they are and the others are replaced with the next best colors from your image.
Editing a color by hand locks it automatically, so your change is never lost.
Copy CSS variables, SCSS, a Tailwind config or JSON for code. Download PNG or SVG for a palette card you can share.
ASE opens in Photoshop, Illustrator and InDesign, and GPL works in GIMP, Inkscape and Krita.
Every swatch shows Aa in the text color that reads best on it, with its contrast ratio. Select a swatch to see the ratio against both white and black and whether it passes WCAG AA or AAA.
For any two colors, use the Color Contrast Checker - each swatch has a one-click link to it.
No. The image is read and analyzed in your browser and never leaves your device. The palettes you save are kept in this browser only - see our Privacy Policy.
Yes. Colors cannot be owned, so the palettes are free to use in personal and commercial work with no attribution needed.
Just make sure you have the right to use the image itself if you publish it.