Image Color Extractor
Pick exact pixel colors and extract dominant palettes from any image
Files and pixels stay in this browser.
Image
Drop, browse, or paste an image
PNG, JPEG, WebP, GIF, BMP, AVIF · 50 MB / 40 MP maximum
You can also paste from the clipboard.
Animated images use their first frame. Preview is scaled; pixel reads use the original decoded image.
Colors & palette
Load an image, select a pixel, then extract its palette.
Related Tools
Color ConverterConvert colors across CSS, mobile, and design-token formatsImage Placeholder GeneratorCreate placeholder images with live preview, size presets and offline snippetsImage Diff CheckerCompare screenshots and inspect visual regressions pixel by pixelGradient GeneratorBrowse curated CSS gradients or build linear, radial, and conic ones
How to use
- 1.Select pixels with click, tap, coordinates or keyboard.
- 2.Extract 5, 8 or 12 colors, then copy or download CSS, JSON or HEX.
- 3.Transparent pixels are excluded; partial alpha contributes proportionally.
- 4.Groups use HSL saturation ≥50%, lightness ≤30% or ≥70%.
- 5.Orientation is applied before coordinates.
- 6.Reset releases resources.
About Image Color Extractor
Inspect full-source pixels locally. Palette colors are deterministic estimates from a small alpha-weighted analysis image, never a replacement for source pixel readings.
Frequently asked questions
- Are my images uploaded?
- No. Images are decoded, inspected and analyzed entirely in your browser, and neither the file nor its pixels are sent to a server.
- How accurate is the pixel picker?
- The inspector reads one pixel from the full decoded image with smoothing disabled, so the HEX, RGB, HSL and OKLCH values match the source pixel at the shown coordinates rather than the scaled preview.
- Will the same image always return the same palette?
- Yes. Extraction uses an alpha-weighted histogram and a deterministic median-cut clustering with stable ordering by coverage and HEX value, so the same image and palette size always produce the same colors.
- Which export formats are available?
- Copy or download the visible palette as CSS custom properties such as --image-primary and --image-secondary, as versioned JSON, or as a plain list of HEX values. Every export uses the same values shown in the interface.
