Color palette from image
Drop a photo to pull out its main colors. Click the image to pick any exact color.
FreeNo sign-upRuns in your browser
- Your palette will appear here.
Guides
Questions
How are the colors picked?
The image is scaled down and its pixels are grouped with k-means clustering, the same method design apps use. Each swatch is the average color of one group, ordered from the most to the least common.
Can I pick one exact color from the photo?
Yes. Click anywhere on the image to read the color of that spot. It appears under the picture with its HEX and RGB values.
How do I use the palette in my website?
Copy the CSS variables and paste them into your stylesheet, then use them like color: var(--color-1). There is also a JSON version for design tokens and Tailwind configs.
More images and design tools
- Background removerImages and designCut people and products out of photos and get a transparent PNG.Open →
- Image compressorImages and designShrink photos and convert them to WebP, JPEG or PNG.Open →
- Image converterImages and designConvert between PNG, JPG and WebP, and turn SVG into PNG.Open →
- HEIC to JPGImages and designTurn iPhone photos into JPGs that open everywhere.Open →
- Image resizerImages and designResize and crop to exact sizes for Instagram, YouTube, Facebook and more.Open →
- Contrast checkerImages and designCheck whether text is readable on its background (WCAG AA and AAA).Open →