Free tool
Runs in your browserImage Color Picker
Upload or paste a photo and get a palette with roles: background, surface, text, primary, and accent, fixed so every text pair is readable in light and dark.
What it does
Upload a photo and get a palette you can use on a website: background, surface, text, primary, and accent, in light and dark. The picker finds the main colors of the image, then fixes the ones that would make text hard to read.
How to use it
- Choose, drag, or paste an image: PNG, JPEG, WebP, GIF, or AVIF, up to 20 MB.
- Compare the Original and Accessible palettes, and read the "What changed" list.
- Copy the palette as CSS or Tailwind v4, or open it in the Palette Generator or the Palette Visualizer.
How the colors are picked
The image is scaled down and its pixels are sorted into eight main colors by a fixed method (median cut), so the same image always gives the same palette. Each color gets a role from its lightness and color strength. When the text or primary color fails on the background or surface, the picker makes the smallest change that reaches the WCAG level and lists it. The image is read in your browser and never uploaded or stored.
Related: Palette Generator · palette library
Private by design
Your image stays in your browser.
Results use the same color engine as the builder, judged on the final 8-bit colors, with WCAG 2.2 deciding pass or fail.