Home/Free tools/Color palette generator
Free color palette generator

Pull a color palette from any photo

Upload a product photo, logo or mood shot and get its main colors with HEX and RGB codes. Click a color to copy it, or copy the whole set as CSS variables.

Free, no sign-upRuns in your browserYour photo never leaves your device
Five colors pulled from this product photo, with HEX codes ready to copy
Five colors pulled from this product photo, with HEX codes ready to copy
Free · runs in your browser

Color Palette from Image

No sign-up. Your photo never leaves your device.

Number of colors

Your palette appears here.
Features

Everything you need, nothing you don't

5 to 8 colors

Choose how many colors you want. They're sorted by how much of the photo they cover.

HEX and RGB

Every swatch shows both codes and copies with one click.

CSS variables

Copy the whole palette as CSS custom properties for your store theme.

Brand kit ready

Save the colors in an AiArter brand kit to use them as photo backgrounds.

Private by design

The colors are found on your device. The photo is never uploaded.

Free

No account and no credits.

How it works

Done in 3 steps

01

Choose a photo

Drop it in or click to pick one.

02

Pick a count

Get 5 to 8 colors, sorted by how much of the photo they cover.

03

Copy

Click a swatch for its HEX code or copy all colors as CSS.

FAQ

Questions about color palette generator

Is the color palette generator free?
Yes. It's free with no sign-up and no credits.
Is my photo uploaded?
No. The colors are found in your browser. Your photo never leaves your device.
How are the colors picked?
The tool shrinks a copy of the photo and groups similar pixels with k-means clustering. Each group's average becomes a swatch, and the share shows how much of the photo it covers.
Can I use the colors in AiArter?
Yes. Save them in a brand kit and they appear as one-click backgrounds in the product photo editor.

Get a palette today

14 days free, 200 credits, no card.

Start free trial
✖