Extract a color palette from an image
Generate six representative colors from an image, then copy individual HEX values, the full palette, or CSS variables. Everything runs inside this browser tab.
How it works
Choose an image
Open a JPG, PNG, or WebP file from your device.
Extract six colors
The browser samples the image and selects frequent, visually distinct representative colors.
Copy the palette
Copy one HEX value, all six values, or ready-to-use CSS custom properties.
What stays private here
- The source image is decoded in this browser tab.
- Canvas samples the image pixels on this device.
- No image pixels or derived color values are sent to Peelaway.
- Copied values go only to your device clipboard.
Questions about this tool
How are the palette colors selected?
The browser samples opaque pixels, groups similar RGB values, ranks frequent groups, and favors visual separation among the six representative colors.
Is this the only possible palette for an image?
No. A palette is a compact approximation of an image containing many colors. The result favors common and visually distinct groups rather than claiming one canonical palette.
Is my image or extracted palette uploaded?
No. Sampling, grouping, display, and copying stay in your browser. Image-derived color values are not included in Peelaway analytics.
More free image tools
Need to change what is in the image?
Test Peelaway's production workflow for supported object removal, background removal, and prompt-driven image changes.
Open the image editor