Color · Made a little simpler

Image palette extractor

Extract approximate dominant colors from a local JPG, PNG, or still WebP. Inspect original pixels with magnification and export the palette as HEX, CSS, or JSON.

Your workspaceProcessed on your device
Or focus here and paste an image with Ctrl+V / ⌘V. JPG, PNG or still WebP · up to 25 MB / 24 MP.
#7D9065rgb(125, 144, 101)

Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.

HEX#7D9065
RGBrgb(125, 144, 101)
HSLhsl(86.512 17.551% 48.039%)
RGB percentrgb(49.02% 56.471% 39.608%)
Normalized RGBA0.4902, 0.5647, 0.3961, 1
CSS variable--color: #7D9065;

Color names use standard CSS keywords, such as red or rebeccapurple.

Three small steps.

  1. Choose or paste a local image and set the sampling backdrop.
  2. Select 2–12 palette colors and extract, or inspect individual pixels with coordinates and arrow keys.
  3. Select a swatch to inspect its formats, then copy or download your palette.

A few things to know.

Images are limited to 25 MB, 24 megapixels, and 12,000 pixels per side. Dominant colors use a sample no larger than 256 × 256 pixels and 4-bit RGB buckets; they are approximations. Fully transparent sampled pixels are ignored, other pixels are composited on the backdrop. Selected percentages may not sum to 100%. Browser-decoded sRGB only; no remote image fetching.

How your privacy works →

A little more clarity.

Are these every color in the original image?

No. The palette summarizes the largest color groups in a downsampled image. Use original-pixel sampling for a specific visible pixel instead.

Is my image uploaded or saved?

No. Decoding, sampling, and palette extraction run locally. Images and saved swatches remain in page memory; refresh, navigation, or Clear removes them.