Extract a color palette from any image
Drop a photo and get its dominant colors as HEX codes — then export them as CSS, SCSS, Tailwind, JSON, Adobe ASE and more. Free, no signup.
Palette
How it works
Three steps from photo to production-ready colors.
- 1
Upload
Drop, paste or browse for a JPG, PNG, GIF or WebP image up to 20 MB.
- 2
Extract
Palettize groups the pixels into distinct color regions and returns 4 to 20 dominant colors.
- 3
Export
Copy HEX, RGB or HSL values, or download the palette in the format your tools expect.
Export formats
Use the palette in code or drop it straight into a design tool.
- CSS custom properties:root variables, ready to paste into a stylesheet.
- SCSS variablesVariables plus a map you can loop over.
- TailwindTheme colors for Tailwind v4 and v3.
- JSONHEX, RGB and HSL values for every color.
- Adobe ASESwatches for Photoshop, Illustrator and InDesign.
- GIMP GPLPalettes for GIMP, Inkscape and Krita.
- PNG & SVGSwatch sheets to share or add to a design file.
- Shareable linkOne URL that reopens the exact palette.
Why the colors look right
Counting the most frequent pixel values tends to return ten near-identical shades of the dominant color. Palettize splits the image into distinct color regions (median cut), refines each region with k-means clustering, then keeps the largest regions and drops any color that looks too similar to one already chosen, measured in CIE Lab, a perceptually uniform color space. Transparent, near-white and near-black pixels are ignored so backgrounds don't crowd out the subject, and so are tiny specks, so a small logo can't take over the palette.
Frequently asked questions
How do I get the HEX codes of the colors in an image?
Upload the image and Palettize lists its dominant colors. Click any swatch to copy its HEX code, or switch the format to RGB or HSL.
Is Palettize free?
Yes. It's free to use and there's nothing to sign up for.
Are my images stored?
No. Your image is uploaded to our server only to compute the palette, then deleted as soon as the result is sent back. We don't keep a copy.
Which image formats and sizes work?
JPG, PNG, GIF and WebP, up to 20 MB and 24 megapixels.
How many colors can I extract?
Anywhere from 4 to 20 — use the Colors slider. If an image doesn't contain that many clearly different colors you may get fewer.
Can I use the palette in Photoshop, Illustrator or Figma?
Download an ASE file for Adobe apps, or a GPL file for GIMP, Inkscape and Krita. For Figma and most other tools, copy the HEX values.