Image Color Extractor
Extract dominant colors and color palette from any image. Click anywhere on the image to pick a color. Copy HEX, RGB, or HSL values instantly.
Click to upload or drag & drop an image
PNG, JPG, GIF, WebP supported
About Image Color Extractor
Upload any image to extract its dominant color palette. Use the eyedropper by clicking anywhere on the image to get the exact color at that point. Copy color values as HEX, RGB, or CSS variables. Ideal for designers, developers, and branding work.
How to Use
- Upload an image by clicking or dragging it onto the upload area. The dominant palette is extracted automatically.
- Select how many colours to extract (6–16) and click Extract Palette to refresh.
- Click any colour swatch to copy its HEX value to the clipboard.
- Click anywhere on the image to use the eyedropper and get the exact colour at that pixel.
- Use Copy All HEX or Copy CSS Variables to grab the full palette at once.
How the Palette Is Generated
The tool uses the median cut algorithm — a colour quantization method that divides the image's colour space into buckets and finds the average colour in each. This produces a representative palette of the image's most visually prominent colours.
Frequently Asked Questions
:root { --color-1: #...; } block you can paste directly into your CSS file.