Esta página aún no está traducida al español, así que la mostramos en inglés.

Image Color Palette Extractor — Get the Colors from Any Photo

Find the color palette of any image — a photo, logo, screenshot or design. Drop it in to get its main colors ranked by how much of the image they cover, choose how many colors you want, or click anywhere on the image to pick an exact pixel. Copy any color as HEX, RGB or HSL, or export the palette as CSS variables, a Tailwind config, SCSS or JSON.

Actualizado el

Choose an image or drag & drop it here

JPEG, PNG, WebP, GIF, AVIF or SVG · or paste with Ctrl+V · processed in your browser

Tus datos nunca salen de tu ordenador. Todo se procesa localmente en tu navegador.

Cómo usar: Image Color Palette Extractor

  1. Choose an image, drop it in or paste it — or try the sample.
  2. Set how many colors you want; tick Ignore near-white and near-black for logos and product shots on plain backgrounds.
  3. Click any swatch to copy it, or click the image to pick the exact color of a pixel.
  4. Export the palette as CSS variables, a Tailwind colors config, SCSS or JSON.

How the colors are found

The image is scaled down and its pixels are grouped by color with k-means clustering: the algorithm places as many “centers” as colors you asked for, assigns each pixel to the nearest one, moves each center to the average of its pixels, and repeats until they settle. Each center becomes a swatch, and its share shows how much of the image it covers. Transparent pixels are skipped, so logos on transparent backgrounds work well.

Using the palette

Your image is processed on your device with a canvas and never uploaded.

También se busca como: image color palette, color palette from image, extract colors from image, image color picker, get colors from photo, color extractor, logo color picker, palette generator from photo.

Herramientas que combinan con: Image Color Palette Extractor

  • Color Converter — Paste any CSS color — HEX, rgb(), hsl(), hwb(), oklch() or a name like tomato — and get every other format instantly, plus a ready-to-use 50–950 palette.
  • Color Mixer — Pick two colors and a number of steps to get evenly blended transition colors — perfect for gradients, borders, charts and hover states.
  • CSS Gradient Generator — Design a gradient visually — drag color stops, change the angle or type, start from a preset — and copy production-ready CSS with a solid fallback color.
  • HEX to RGBA Converter — Paste a HEX code, drag the opacity slider and copy the exact CSS you need — legacy rgba(), modern rgb( / alpha) or 8-digit HEX.

Preguntas frecuentes

How do I get the color palette from an image?
Drop the image here: its main colors appear as swatches with how much of the image each covers. Change the number of colors with the slider and export the palette as CSS, Tailwind or JSON.
How do I find the HEX code of one color in a picture?
Click that spot on the image. The exact pixel color appears below it in HEX, RGB and HSL, ready to copy.
Why is white or black the top color?
Backgrounds often cover most of an image. Tick “Ignore near-white and near-black” to get the colors of the subject instead.
Is my image uploaded?
No. It is read and analyzed in your browser; nothing is sent to a server.
¿Puedo instalar Image Color Palette Extractor como aplicación web y utilizarla sin conexión?
Sí. Image Color Palette Extractor es una aplicación web instalable (PWA): se instala desde el navegador, no se descarga desde una tienda de aplicaciones. Haz clic en «Instalar aplicación» en la parte superior de esta página en Chrome o Edge (Windows, macOS, Linux, ChromeOS) o, en Android, utiliza «Compartir» → «Añadir a la pantalla de inicio» en iPhone y iPad, o «Archivo» → «Añadir al Dock» en Safari 17+ en un Mac. A continuación, se abrirá en su propia ventana con su propio icono y, como se ejecuta íntegramente en tu navegador, seguirá funcionando sin conexión. Firefox en el ordenador de sobremesa no permite instalar aplicaciones web. Cómo funciona la instalación.

Herramientas relacionadas