Color palette from image
Drop in a photo and get its main colors with HEX codes. It happens in your browser, so your image is never uploaded.
Drop an image here, paste one, or click to choose a file
JPG, PNG, WebP or GIF. Stays on your device.
Click the image to add that exact color.
Download
Publish to the library · no account needed
How the image color extractor works
- Add a photo. Drag it in, paste it from your clipboard or pick a file. Nothing is uploaded; the pixels are read on your device.
- Choose how many colors. Use the slider or type a number from 2 to 100. The tool groups similar pixels and returns the colors that cover most of the image.
- Fine-tune. Click the image to add an exact color, edit any HEX code, reorder or remove swatches.
- Download. Save as PNG, SVG, HEX, CSS, SCSS, JSON, GPL and ASE, at any image size.
What can I use it for?
Match a website to a hero photo, build a brand palette from a mood board, pull paint colors from a room, or create a limited palette for an illustration or pixel art piece.
Questions
Is my image uploaded anywhere?
No. The image is read by your own browser and never leaves your device, so the tool works with private photos and client work.
How many colors can I extract from an image?
Anywhere from 2 to 100. Use the slider or type the number you want.
Which image formats can I use?
JPG, PNG, WebP, GIF and any other image your browser can open. You can also paste an image straight from your clipboard.
How do I get the HEX codes?
Every color shows its HEX code. Press "Copy HEX codes" to copy them all, or download the palette as CSS, SCSS, JSON or a plain HEX list.