RVZWN//TOOLS

> SECTOR_02 // IMAGES // PALETTE_EXTRACTOR

Color Palette Extractor

Drop a photo, logo or screenshot and get its dominant colours with HEX, RGB, HSL and OKLCH codes. Click the picture to pick any exact pixel, check whether text is readable on a colour (WCAG), and export the palette as CSS variables, SCSS, JSON, Tailwind, a GIMP palette or a PNG strip. Nothing is uploaded.

LOCAL_PROCESSING // NO_UPLOAD

How it works
  1. Drop a picture. The main colours appear as cards with their codes and how much of the picture they cover.
  2. Change the number of colours, hide white or black backgrounds, or sort by hue or lightness. Click any card to copy its HEX code.
  3. Click the picture to pick an exact pixel. Picked colours join the palette, the contrast checker and the export.
  4. The contrast box gives the WCAG ratio and tells you whether the pair passes AA and AAA for normal and large text. Export as CSS, SCSS, JSON, Tailwind, a GIMP / Inkscape palette or a PNG strip.
Colours are grouped with k-means in the OKLab colour space on a reduced copy of the picture (up to 360 px), ignoring transparent pixels. Results are repeatable: the same picture and settings always give the same palette.