Palette From Image

Drop a photo, screenshot or artwork and get its main colors as a palette you can export.

Drop an image here

or paste one from your clipboard

Try an example

Your image stays on your device. Colors are extracted in the browser and nothing is uploaded.

Colors

  1. —
  2. —
  3. —
  4. —
  5. —

Extract a color palette from any image

Drag an image onto the drop area, choose a file or paste a screenshot with Ctrl/Cmd +V. The tool finds the five to eight colors that cover most of the picture, ordered from the most common. Then click anywhere on the image to replace the selected color with the exact pixel under your cursor — or move the picker with the arrow keys and press Enter. No image at hand? Try one of the three examples under the drop area (a sunset, a fruit still life and a city at night) first.

How the colors are chosen

The image is scaled down and every pixel is converted to OKLab, a color space where distance matches how different two colors look. A k-means clustering step groups similar pixels, and for each group the tool keeps a real pixel close to its center instead of an averaged color, so results stay as vivid as the original rather than turning grey.

Private by design

Everything runs in your browser on a canvas. The image is never uploaded, stored or sent anywhere, and it disappears when you leave the page. Send the first five colors to the palette generator to assign background, text and accent roles, save them, or export them as CSS, Tailwind, JSON or a PNG swatch. Prefer to start from a single color? Try the color picker.