Skip to content
TabKiwiTabKiwi

Palette from Image

Build a color palette from a photo and export it as CSS variables, SCSS, JSON or Tailwind colors.

ImagesRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Use a photo, illustration or brand image as the starting point for a color scheme. Choose how many colors you want and how to order them, give the variables a name, and copy ready-to-use code for CSS custom properties, SCSS, JSON or a Tailwind config. You can also download a swatch image. The palette is calculated in your browser.

How to use Palette from Image

  1. Drop an image you like the colors of.
  2. Choose the number of colors and their order.
  3. Set a variable name prefix.
  4. Copy the code or download the swatch PNG.

Frequently asked questions

Will I get the same palette every time?

Yes. The extraction is deterministic, so the same image and settings always give the same colors.

Can I edit the colors afterwards?

Copy the hex list into your design tool or editor and adjust from there.

More Images tools

View all 86 →