Color Swatch Finder · HEX, RGB, HSL & CSS Export · 100% In-Browser

Colour Palette Extractor—Get HEX, RGB & HSL Swatches from Any Image

Extract dominant colors from photos, UI screenshots, illustrations, or brand artwork directly inside your browser. Inspect exact HEX, RGB, and HSL codes, click anywhere on the image with the built-in eyedropper, and export CSS variables, JSON, Tailwind config, or a PNG color strip.

3 to 12 Dominant Swatches Click-Image Pixel Eyedropper CSS, JSON & Tailwind Export 100% In-Browser (No Uploads)

Drop an image or screenshot to extract its color palette

· or paste with Ctrl/⌘ + V

In-Depth Guide

How to Pull a Real Color Palette From Any Photo (And Actually Use It in CSS or Figma)

Learn how Median-Cut color extraction pulls clean HEX, RGB, and HSL swatches from photos without dull muddy grays—plus practical tips for CSS variables and UI contrast.

Read Full Guide
Color Science & Quantization

How Median-Cut Color Quantization Finds Representative Image Swatches

A typical smartphone photo or UI illustration contains hundreds of thousands of slightly varying pixel tones caused by sensor grain, subtle gradients, and JPEG compression. If a tool simply ranked raw pixel counts by exact match, your top ten results would often look almost identical. ImageFeather solves this in your browser using Median-Cut color quantization.

Our local analyzer samples opaque RGBA pixels into a fast HTML5 Canvas buffer, identifies the color channel (Red, Green, or Blue) with the widest dynamic spread, and recursively splits pixel buckets at their median midpoint until it reaches your chosen swatch count (between 3 and 12 colors). Each bucket then averages into a distinct HEX, RGB, and HSL swatch paired with its approximate coverage share.

Built-In Click-to-Sample Pixel Eyedropper

Need the exact color of a small brand icon, button border, or sky highlight rather than an averaged swatch? Click any spot directly on the image preview to read that exact pixel's HEX and RGB value immediately—without sending your image anywhere.

Understanding HEX, RGB, HSL & Token Exports for Web Design

Color Format / Export Syntax Example Best Design & Engineering Workflow
HEX Code#2563EBStandard 6-digit hexadecimal notation for Figma, Canva, CSS, and brand guidelines.
RGB Valuergb(37, 99, 235)Direct red/green/blue channel integers ideal for Canvas, WebGL, and rgba() alpha layering.
HSL Valuehsl(221, 83%, 53%)Human-intuitive Hue, Saturation, and Lightness for creating hover states and dark-mode shades.
CSS Variables / JSON / Tailwind--palette-1: #2563EB;One-click code tokens ready to paste straight into stylesheets, design docs, or theme configs.

Three Everyday Ways Creators Use Image Color Palettes

UI

Web & App Theme Tokens

Turn a hero illustration or brand photograph into CSS custom properties or Tailwind color keys in one click.

BG

Matching Graphics & Typography

Pull complementary headline and accent colors directly from product packaging, YouTube thumbnails, or photography.

PNG

Shareable Mood Boards

Export a labeled PNG color strip displaying every HEX code and coverage percentage to drop into client pitches.

Frequently Asked Questions