Your files stay on your device

# Color palette from an image

Pull the main colors out of a photo and copy them as CSS or JSON.

Drop an image to get colors from

PNG, JPG, WebP, AVIF and more · up to 50 MB · stays on your device
Choose an imageor pasteNo file handy? Try a sample

## Share of pixels in a palette

Each swatch shows a color and its share of the image's pixels. The share is the count of pixels close to that color, divided by the total. A 1000 pixel image with 600 blue pixels gives blue a share of 60 percent.

Large shares describe the broad colors in a photo, such as a sky or a wall. Small shares pick out accents that a design may still need. Two swatches with close shares can still differ in brightness, so compare them visually before you choose one.

## More image tools

- [Color palette generator](/color/palette)
- [Shrink PNGs](/images/quantize)
[All image tools](/images)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/images/palette
Markdown version: https://nutter.tools/images/palette.md
Plain-text version: https://nutter.tools/images/palette.txt
Agent index: https://nutter.tools/llms.txt

