PrivTab

Paleta de cores da imagem

Tirar uma paleta de cores de uma imagem

Funciona no seu navegador · Sem upload

A ferramenta e as instruções desta página estão em inglês por enquanto. Ela funciona do mesmo jeito: tudo roda no seu navegador.

Drag & drop an image here

or

JPG, PNG, WebP, AVIF, GIF, HEIC, SVG and more

Your files stay on your device. Nothing is uploaded.

  • Nada sai do seu dispositivo
  • Sem limites de tamanho impostos por servidor
  • Sem cadastro, sem marca d’água
  • Grátis

Conversões populares

How to get a color palette from an image

  1. Choose an image.
  2. Pick how many colors you want: 5, 8, 12 or 16.
  3. Copy the palette as HEX, CSS variables or JSON, or download it as a PNG.

Good to know

  • The colors are sorted by how much of the image they cover, and each swatch shows its share.
  • Click a swatch to add it to your picked colors; click anywhere on the image to pick an exact pixel.
  • Transparent parts of PNG and WebP images are ignored.
  • The PNG shows each color with its HEX code, ready for a style guide.

How the palette is chosen

Similar colors are grouped together (k-means clustering on a smaller copy of the image), so a few pixels of noise don't become a color of their own. For a photo, 8 to 12 colors usually catch both the main tones and the accents.

Your images stay on your device

Everything happens in your browser. Your images are never uploaded, and this site's security policy blocks the page from sending files anywhere.

Perguntas frequentes

Can I check whether two palette colors are readable together?

Yes: copy the HEX codes into the Color Contrast Checker, which tells you whether text in one color is readable on the other (WCAG AA and AAA).

Is my image uploaded?

No. The colors are worked out in your browser and the image is never sent anywhere.