Eskillsfy

Home / Tools / Images

Color Palette from Image

Pull the main colors out of any photo or logo.

Runs in your browserFree, no sign-upOpens JPG, PNG, WebP
Loading tool…

How to use it

  1. Choose or drop an image.
  2. Set how many colors you want.
  3. Copy the HEX codes or CSS variables.

About this tool

Find the dominant colors of a photo, logo or screenshot, with how much of the image each one covers. Copy HEX values or the whole palette as CSS variables for your theme.

Your input is processed on your device. Nothing is sent to a server or stored.

How it works, and how to build your own →

Questions

How are the colors chosen?
The image is shrunk and its pixels are grouped with k-means clustering; each group's average is one palette color.
Images

More tools like this

All images