Eight-color local capability response
{
"image": "local-file"
}
{
"colors": [],
"preview": {
"local_only": true,
"sample_count": 8
}
}
Image Tools
Extract a ranked palette of dominant HEX colors from an image entirely in your browser.
Published Last reviewed
The Image Palette Extractor analyzes a local image and builds a ranked palette of two to twelve representative colors. Adjust the palette size, compare proportional swatches, copy individual HEX values, or copy the entire set as CSS custom properties. The image remains on your device throughout the analysis.
Workspace
Choose an image below to prepare a private, in-browser visual result.
Complete the fields to prepare a result.
Choose the values that apply, then upload image.
Use browser File/Canvas APIs locally. Server GD path only for constrained API uploads with EXIF stripping.
The browser downsizes the image for analysis, skips mostly transparent pixels, samples pixels at regular intervals, and groups RGB channels into 32-level buckets. The most frequent buckets form the displayed palette. This fast quantization is useful for design inspiration but is not perceptual clustering and may treat visually similar shades as separate colors.
{
"image": "local-file"
}
{
"colors": [],
"preview": {
"local_only": true,
"sample_count": 8
}
}
Some inputs may be uploaded briefly for processing and are not retained after the request completes.
The tool samples a reduced canvas, quantizes RGB values into buckets, counts their frequency, and returns the most frequent buckets.
Yes. Move the palette-size control between two and twelve colors; the ranked palette updates immediately.
Click an individual color to copy its HEX value, or copy the complete palette as numbered CSS custom properties.
No. The interactive extractor decodes and samples the image locally with browser APIs and does not create a stored image library.