Palette extractor

Choose an image to extract its main colors. Copy the palette as HEX codes, CSS variables or JSON.

No uploads · Everything runs in this browser

6

Palette

Click a color to copy its HEX code.

    FAQ

    How are the colors chosen?

    Pixels are grouped with k-means clustering in the OKLab color space, which matches how people perceive color differences. Transparent pixels are ignored.

    Is my image uploaded?

    No. The image is analyzed inside this browser and never leaves your device.