EN

Color palette from image

Drop a photo, artwork or screenshot and get its main colors as a palette: 4 to 10 swatches, each with its HEX code and how much of the image it covers. Copy them as CSS variables or a plain HEX list, or save the palette as a PNG. Every swatch is a color that really appears in the image, not a blend. It all runs in your browser.

How it works

  1. Drop an image, choose a file or paste a screenshot with Ctrl+V.
  2. Choose how many colors you want: 4, 6, 8 or 10.
  3. Click a swatch to copy its HEX code, or copy the whole palette as CSS or a list, or download it as PNG.

FAQ

How are the colors chosen?

A small copy of the image is grouped into similar colors (median cut, refined with k-means). For each group the tool shows the closest real pixel color and sorts the groups by how much of the image they cover.

Why is a small accent color missing?

The palette shows the colors that cover the most area, and specks under about 0.4 % are left out. Try 8 or 10 colors, or click the accent in the image to pick it directly.

How do I use the palette in CSS, Figma or Canva?

"Copy as CSS" gives you custom properties (--color-1, --color-2 …) to paste into a stylesheet. "Copy HEX list" gives one code per line, ready to paste into Figma, Canva or any color field. The PNG is handy for mood boards.

Does it work with logos and transparent PNGs?

Yes. Transparent pixels are ignored, and flat logo colors come out exact, because each swatch is snapped to a real pixel of the image.

Is my image uploaded?

No. The palette is calculated in your browser. Your image is never sent to a server.

Image to SVGConvert PNG, JPG, logos and signatures into clean, scalable SVG vectors.Convert & compressConvert, compress and resize photos in batches, including iPhone HEIC. Strips GPS location.Compress PDFMake PDFs smaller for email and uploads. Text stays sharp, nothing is uploaded.Passport photoCrop a selfie to official passport and visa sizes, with a white background and a print sheet.Merge & make PDFCombine PDFs and turn photos into one PDF, in any order. Nothing is uploaded.PDF to JPGTurn every page of a PDF into a JPG or PNG image, at the resolution you need.Split PDFSplit a PDF by page ranges, extract pages or delete the ones you do not need.AI image upscalerEnlarge small or blurry images 2x or 4x with AI, sharper than normal resizing.Compress to KBGet photos under 20, 50, 100 KB or any limit a form asks for, at the best quality that fits.Image to text (OCR)Copy text out of photos, screenshots and scanned PDFs in 16 languages.Crop & rotate imageCrop to any shape, a square or a circle, rotate and flip, at full resolution.Sign PDFDraw, type or upload your signature and place it on any page, with the date.SVG to PNGTurn SVG files or code into sharp PNG or JPG images at any size, transparent or on white.Collage makerPut 2 to 9 photos into a grid or mosaic, set spacing and corners, and download in high resolution.GIF maker & video to GIFTurn images or a video clip into an animated GIF, with no watermark and nothing uploaded.QR code generatorMake QR codes for links, Wi-Fi, contacts and email that never expire. PNG or SVG, no sign-up.Unlock PDFRemove a PDF’s password or its print, copy and edit restrictions. For files you can open: no password cracking.Meme generatorAdd classic meme text or a caption bar to your own photos and screenshots. No watermark, nothing uploaded.Favicon generatorTurn a logo, image or emoji into favicon.ico, PNG icons and an Apple touch icon, with the HTML to paste.Blur facesPixelate faces automatically and hide anything else in a photo, like plates or name tags.Remove backgroundRemove the background from photos — full resolution, free, nothing uploaded.