🎨 Extract palettes from any image

Color Palette Extractor

Drop an image, get its dominant colors. Export as HEX, RGB, HSL, CSS variables, Tailwind config or JSON. Powered by k-means clustering — runs entirely in your browser.

🎨

Drop an image, click to browse, or Ctrl/Cmd + V to paste

PNG, JPG, WebP, GIF — anything your browser can decode

Image:

From a photo to a complete brand palette in seconds

Designers, web developers and brand professionals constantly need to extract colors from reference images — a competitor's website, a mood-board photo, a screenshot, a logo, a piece of art. This tool does it instantly with k-means clustering, the same algorithm used by Adobe Color and similar professional tools.

So funktioniert es

K-means is a classic clustering algorithm: it groups similar pixels together and finds the "center" (average color) of each group. We sample up to 20,000 pixels from your image (more than enough — visually indistinguishable from analyzing every pixel) and run k-means in RGB space to find the K most dominant clusters. The result is a palette sorted by frequency, so the first color is the one that occupies the most pixels.

Warum k-means und keine anderen Algorithmen?

Popular alternatives like median-cut (used by ColorThief) and Vibrant.js have known issues: they sometimes return colors that are vivid rather than dominant, and their output can vary between runs. Our k-means implementation uses k-means++ seeding with a deterministic golden-ratio fraction, which makes runs reproducible (same image → same palette) and converges to truly dominant clusters.

Exportformate

Drei Wege, ein Bild einzufügen

Datenschutz

Your image never leaves your device. Every step — decoding, sampling, clustering — happens in your browser tab. We don't have a server-side component for this tool.

Häufige Anwendungsfälle

Häufig gestellte Fragen

Lädt der Farbextraktor meine Bilder auf einen Server hoch?
Nein. Ihr Bild verlässt niemals Ihr Gerät. Jeder Schritt — Dekodierung, Pixel-Sampling, K-Means-Clustering — erfolgt vollständig in Ihrem Browser-Tab. Es gibt keine serverseitige Komponente für dieses Tool.
Welche Exportformate sind für extrahierte Paletten verfügbar?
Sie können Paletten als HEX-Liste, RGB-Liste, HSL-Liste, CSS-Variablen (bereit für :root {}), Tailwind-Konfiguration (zum Einfügen in tailwind.config.js) oder JSON mit HEX, RGB und Farbfrequenz-Prozentsätzen exportieren. Alle Formate sind mit einem Klick kopierbar.
Wie funktioniert der Farbextraktions-Algorithmus?
Das Tool verwendet K-Means-Clustering — denselben Algorithmus, der von Adobe Color und professionellen Tools verwendet wird. Es sampelt bis zu 20.000 Pixel aus Ihrem Bild und gruppiert sie in Cluster, um die dominanten Farben zu finden. Die Ergebnisse werden nach Häufigkeit sortiert, sodass die prominenteste Farbe zuerst erscheint.
Was sind gängige Anwendungsfälle für einen Farbpaletten-Extraktor?
Designer verwenden ihn, um Markenpaletten aus Screenshots nachzubilden, Tailwind-Konfigurationen aus Moodboards zu extrahieren, Website-Farben an Hero-Fotos anzupassen, Design-Tokens aus Kunstwerken zu generieren und Akzentfarben für Präsentationen aus Titelbildern auszuwählen.
Ist der Farbextraktor kostenlos? Wie viele Farben kann ich extrahieren?
Das Tool ist völlig kostenlos ohne Anmeldung und ohne Limits. Sie können Paletten mit 4, 6, 8, 10 oder 12 Farben aus jedem Bild extrahieren. Da die gesamte Verarbeitung in Ihrem Browser läuft, gibt es keine Nutzungsbeschränkungen oder täglichen Limits.

Verwandte Tools