Pull dominant HEX colors from any photo, screenshot, or asset: the image is sampled on a downscaled canvas, colors are quantized and ranked by frequency, then a diversity filter keeps swatches distinct. Export CSS custom properties or JSON — processing stays in your browser, like our other image tools.
Quantization merges similar RGB values before counting. Larger buckets favor broad theme colors; smaller buckets keep more variation — same idea as analyzing APK assets for UI references, but for arbitrary images.
Click a swatch to copy its HEX.
/* Upload an image to begin */
[]
Designers and developers often need quick palettes from screenshots, marketing photos, or app store graphics — without opening a heavy desktop app. This tool resizes your image (long edge about 220px for sampling),
reads pixels with canvas and getImageData, then buckets RGB using your quantization step. Frequent buckets become candidates; a minimum distance filter in RGB space keeps the final swatches from
stacking on the same hue.
Fine buckets preserve subtle shifts (useful for photos). Coarse buckets merge nearby shades into broader “theme” colors — closer to how you might summarize an APK’s visual style at a glance. If two swatches still look alike, reduce count or crop the image to the subject.
Pixels with alpha below a small threshold are ignored so transparent PNG regions do not skew results. Output is sRGB HEX as typical for web; print workflows should convert and proof separately.
Your file is never uploaded to DroidXP — consistent with our APK Analyzer and APK String Extractor philosophy: local processing first.
Palette Extractor (same sampling engine under Design), Image Compressor and Image Resizer if you need smaller files before sampling, and Color Picker for single-color inspection.
No. Decoding and sampling use canvas APIs in your browser. Pixel data never leaves your device unless you copy it elsewhere.
Both use the same sampling logic. This page is categorized under Image and is written for photos, screenshots, and asset workflows; the Design tool focuses on brand and UI reference imagery. Pick whichever fits your navigation.
Bucket size changes which RGB values merge before counting, so the top-ranked colors can shift.
Photos contain noise and gradients. Try fewer swatches, coarser quantization, or crop to the region you care about.
Very transparent pixels are skipped so they do not dominate the palette.
Sampling uses a downscaled copy for speed. For maximum relevance, crop to the area you want to match before uploading.
SVG is rasterized for sampling. Browsers work in sRGB; for print CMYK, verify in your DTP software with the correct ICC profile.
No. Use a dedicated contrast checker when pairing text and background colors for accessibility.
droidxp-ice-max-colors and droidxp-ice-step remember your swatch count and quantization. Image data is never persisted. Clear resets the preview only.
After the page is cached, it can work offline. No network is required to extract colors.