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

or paste

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.

Was this tool useful?