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
- Drop an image you like the colors of.
- Choose the number of colors and their order.
- Set a variable name prefix.
- 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.