Perceptual OKLCH + WCAG contrast on every swatch
Alongside standard HEX, RGB and HSL, each color reports its OKLCH coordinates and whether dark or light text achieves the highest WCAG contrast ratio on top of it.
Drop, pick or paste any photo or frame to extract 5 to 10 dominant colors locally in your browser. Copy HEX, RGB, HSL, OKLCH, CSS variables or Tailwind v4 tokens, save a PNG swatch card, or generate matching AI art.
100% local canvas sampling. Your photo is never uploaded.
Upload or paste a picture, pick how many colors you want, and export the codes.
Upload any JPG, PNG or WebP image from your device, paste a screenshot directly with Ctrl+V, or click a sample image to test.
Our median-cut and k-means quantizer identifies balanced dominant colors ranked by pixel share, with HEX, RGB, HSL, OKLCH and WCAG contrast.
Copy CSS variables, Tailwind v4 tokens or JSON, save a 1200 × 640 swatch PNG, or send the palette directly into GenWorldAI Text to Image.
More accurate than single-pixel eyedroppers, with modern OKLCH and WCAG values built in.
Alongside standard HEX, RGB and HSL, each color reports its OKLCH coordinates and whether dark or light text achieves the highest WCAG contrast ratio on top of it.
Switch tabs to copy ready-to-paste :root variables, Tailwind CSS v4 @theme tokens or structured JSON, or download a high-resolution PNG card for moodboards.
Found a film still with unforgettable color grading? Click Generate AI art to open Text to Image pre-filled with your exact HEX color palette.
Creates a ready-to-run Text to Image prompt preloaded with your extracted HEX palette.
Why perceptual color extraction beats random sampling and how to apply a 60-30-10 color balance.
Simple histogram counters often fill a palette with five nearly identical shades of sky blue. This extractor first partitions sampled pixels along their widest color channel (median-cut), then refines cluster centers using perceptually weighted redmean k-means so shadows, midtones and accent highlights all stay represented.
The top strip shows each swatch proportional to its share of the image, making it easy to spot the dominant backdrop versus smaller accent colors.
Want the color mood of a favorite scene in a video? Grab any exact frame locally with our Video Frame Extractor, drop that PNG here to capture its HEX and OKLCH tones, and reuse the palette in your titles, thumbnails or AI prompts.
Creates a ready-to-run Text to Image prompt preloaded with your extracted HEX palette.
Fast, private color inspiration for visual teams.
Match title cards, YouTube thumbnails and lower-thirds to the exact color grade of your footage.
Pull OKLCH and WCAG-checked CSS or Tailwind tokens from brand photography in seconds.
Creates a ready-to-run Text to Image prompt preloaded with your extracted HEX palette.
Extract a reference palette and send it straight into Text to Image for cohesive series art.
Quick answers about extracting colors locally in the browser.
No. The image is drawn onto an offscreen canvas inside your browser tab to read pixel colors locally. Nothing is uploaded or saved.
Every swatch displays HEX, RGB, HSL, OKLCH and its WCAG contrast ratio against dark or light text. You can also copy the full palette as CSS custom properties, Tailwind CSS v4 @theme tokens, JSON or a 1200 × 640 PNG swatch card.
Yes. Copy any picture or screenshot and press Ctrl+V (or Cmd+V on Mac) anywhere on the page to extract its palette immediately.
Pick 5, 6, 8 or 10 dominant swatches from the toolbar and watch the palette recalculate instantaneously.
Extracting palettes is free forever. Click below to open Text to Image and generate cohesive visuals built around your colors.