Image Palette Extractor
Turn the colors in a photo or screenshot into a short palette. Choose how many colors you want, then copy the ones you need.
Extract a palette
- Choose a still JPEG or PNG from your device.
- Set the palette size and review the color swatches.
- Copy a single HEX code or the full palette.
What the swatches represent
The extractor groups similar colors and gives each group a representative HEX color.
A group’s share shows how much of the weighted image it represents. More transparent pixels contribute less.
Fully transparent pixels contribute no color. A representative HEX can blend several nearby shades.
When to use a palette
Use a screenshot to find a few recurring colors for a matching design.
A one-color image can produce one swatch even when you ask for more.
Image and color limits
Choose a supported still JPEG or PNG up to 20 MiB, up to 8,192 pixels on either side and 8,388,608 pixels total.
The palette represents the colors your browser decodes. Color profiles and transparency can affect those values.
Local extraction
Your browser extracts the palette on your device.
Image palette questions
Sources
- WHATWGhtml.spec.whatwg.orgCanvas pixel readbackThe HTML standard defines how the browser reads the canvas pixels used for extraction.
- Carnegie Mellon Universitypublications.ri.cmu.eduMedian cut for color quantizationPaul Heckbert describes the color grouping method on which this extractor is based.
Reviewed November 19, 2026.
Related tools
SVG to PNG
Convert a local SVG file or pasted markup into PNG, with explicit dimensions, transparency and bundled fonts.
Open tool — SVG to PNGImage Watermark
Add a text or logo watermark to a batch of images, review each result and download individual files or a ZIP.
Open tool — Image WatermarkImage Redactor
Cover private details in a photo or screenshot and save a PNG on your device.
Open tool — Image RedactorPhoto Metadata Remover
Make a separate PNG copy of a JPEG or PNG photo without its original embedded metadata.
Open tool — Photo Metadata RemoverGIF Maker
Turn still images into a GIF slideshow with frame timing and loop controls.
Open tool — GIF MakerImage Color Picker
Pick a local image pixel and copy its color and transparency.
Open tool — Image Color PickerImage Comparison
Compare two photos or screenshots and see exact pixel changes when their oriented dimensions match.
Open tool — Image ComparisonImage to Text (OCR)
Recognize printed text in local PNG or JPEG images, choose a language and review or correct the result before copying or downloading.
Open tool — Image to Text (OCR)Aspect Ratio Calculator
Find a width-to-height ratio or calculate a matching pixel size from one target dimension.
Open tool — Aspect Ratio CalculatorImage Compressor
Try to fit a JPEG, PNG or WebP within a target file size, with measured results and optional smaller dimensions.
Open tool — Image CompressorHEIC to JPG
Convert supported HEIC photos locally into full-size JPG copies, with quality and background controls and verified individual or ZIP downloads.
Open tool — HEIC to JPGImage Converter
Convert supported PNG, JPEG and WebP images locally with batch targets, transparency, background and quality controls, then review and download the encoded files.
Open tool — Image ConverterPhoto Collage Maker
Arrange local photos in a grid, adjust crops and spacing, and download PNG or JPEG.
Open tool — Photo Collage MakerRotate & Flip Images
Rotate or mirror a local batch of static PNG, JPEG and WebP images, then review and download the processed results.
Open tool — Rotate & Flip ImagesImage Cropper
Crop one local JPEG, PNG or WebP to exact pixels with visual and numeric controls. Download PNG or JPEG.
Open tool — Image CropperImage Resizer
Resize a JPG, PNG or WebP image by pixels or percentage, preview the result and download it.
Open tool — Image ResizerPixel Density Calculator (PPI)
Calculate screen PPI from native resolution and diagonal, and compare the linear pixel density of two screens.
Open tool — Pixel Density Calculator (PPI)