Upload an image and get its dominant colors as a ready-to-use palette — HEX, RGB, and HSL codes included. Free, no sign-up, generated entirely in your browser.
Click to choose an image or drag and drop it here
Pulling dominant colors out of an image is a pixel-sampling operation — something a browser's Canvas API can already do instantly. Design suites often bundle this feature behind a paid plan alongside tools you may not need; this does the one job you're after, free, with the image processed locally.
Is my image uploaded anywhere? No — colors are sampled locally using the Canvas API. The image never leaves your device.
How are the dominant colors chosen? The tool samples pixels across the image, groups similar shades together, and returns the most frequently occurring distinct colors.
Can I copy a color code directly? Yes — click any swatch to copy its HEX code to your clipboard.
| Format | Looks like | Best for |
|---|---|---|
| HEX | #2A1B45 | CSS, design tools and brand guidelines. |
| RGB | rgb(42, 27, 69) | Screens, canvas code and image software. |
| HSL | hsl(264, 44%, 19%) | Adjusting lightness or saturation to make shades and tints. |
All three describe the same colour. Use whichever your software expects, or convert between them with the HEX / RGB / HSL Color Converter.
The tool samples the pixels of your image and groups similar ones together. The groups that cover the most area become the dominant colours, which is why a sunset photo yields oranges and purples while a logo yields its brand colours. Photos with many small details can produce muted averages, so a simplified or cropped image often gives a more useful palette.
How many colours does it extract? It returns a short palette of the most dominant colours, enough for a design scheme without overwhelming you with near-identical shades.
Can I extract a single exact pixel colour? This tool finds dominant colours across the whole image. For an exact pixel, use an eyedropper tool in your design software, then paste the value into the colour converter.
Is the image uploaded? No. The analysis happens in your browser, so the image stays on your device.