Upload a photo, logo or screenshot to get its dominant colors as HEX and RGB. Choose how many colors, then copy as CSS variables or JSON.
As a Coupang Partners affiliate, this site earns a commission from qualifying purchases.
JPG, PNG or WebP up to 16MB. Logos, product shots and screenshots all work.
1–12. Brand palettes look best at 3–5, photo mood boards at 6–8.
Click a swatch to copy its HEX. Copy the whole palette as CSS variables (--color-1…) or JSON.
k-means clustering groups pixels into the chosen number of colors, sorted by share. Results can differ slightly between runs.
Large backgrounds become the first color. Remove the background first with the Background Remover, or increase the number of colors.
Each color is a cluster average, not a single pixel. Increase the count to get closer values.
HEX and RGB are shown; the JSON export includes RGB.