Image Colour Extractor
Upload any image to extract its dominant colour palette with hex & RGB codes.
About This Image Colour Extractor
Extracting a colour palette from an image is a common task in design, branding, and web development. Designers use extracted palettes to ensure their UI matches brand photography, artists use them for colour studies, and developers use them to set CSS variables and theme tokens. This tool uses a median-cut quantisation algorithm to cluster the pixels in your image into the most representative colour groups, returning the dominant colours sorted by frequency.
Click any colour swatch to see its hex code, RGB values, and HSL representation — all ready to copy with one click. Your image is processed entirely in your browser using the HTML5 Canvas API; it is never uploaded to any server and no data leaves your device.
How to Use
- Drag and drop an image onto the upload zone, or click it to browse for a file.
- Adjust the slider to choose how many colours to extract (4–16).
- The palette appears automatically — click any swatch to see its hex, RGB, and HSL values.
- Use ⿻ Copy All Hex Codes to copy the full palette to your clipboard.