How to get colours from an image
- Drop your image onto the box, or click it to choose a file.
- Choose how many colours you want: 3, 5, 8 or 10.
- Click any swatch to copy its HEX code.
- Use Copy all for the whole list, or Copy share link to send the palette to someone.
How the palette is built
Designers pull colours from photos to build brand palettes, website themes, presentations and illustrations. This tool shrinks your image, groups similar pixels into clusters using k-means and returns the average colour of each cluster, largest first. Each swatch shows HEX, RGB and HSL values you can paste straight into design tools or CSS.
The share link stores only the colour codes, never your image, so you can send a palette without sharing the photo. For the best results use an image with the colours you actually want. Photos with large flat backgrounds can make one colour dominate, so try more colours or crop to the area you care about.
Tips
- Use 5 colours for a balanced palette and 8 to 10 when you want accents.
- Crop the image to the area you want before extracting colours.
- Check text contrast before using a palette for a website.