This preview works right here, for any base color. Adding the colors to a palette and exporting it happen in the color picker, which is free with a Bravely account.
How it works
A palette from one color in three steps
1
Pick a base color
Paste a HEX, rgb() or hsl() value, or use the picker.
2
Add a harmony
Choose one of six schemes, then Add all.
3
Export it
CSS variables, JSON or a Tailwind config, as a file.
What you get
Everything included, free
A preview on this page
Set a base color in the preview above and see what all six schemes add to it.
Six harmony schemes
Complementary, Analogous, Triadic, Tetradic, Split and Rectangle, each worked out from your base color.
A palette of up to 24
Add one swatch or a whole scheme, and a color already in the palette is never added twice.
Three export files
CSS custom properties, a JSON map, or a Tailwind JavaScript config, downloaded as a file.
Four notations
The current color reads as HEX, RGB, HSL and HSV, each with its own Copy button.
A screen eyedropper
Sample any pixel on screen in Chrome, Edge or Opera on a computer; other browsers don't show the button.
What people make with it
Brand palettes
Design system colors
Website themes
Chart colors
Other free palette generators
Each of these does something this one doesn't. Choose by how you like to start.
Free
Coolors
Cost
A free plan with ads; its paid plans are on its pricing page
Good for
Generating whole palettes of up to 5 colors, saving them, and picking colors from an image, all on the free plan.
Downside
The free plan saves up to 10 palettes and shows ads. Its pricing page lists advanced export options under Pro.
A color wheel you drag: choose monochromatic, complementary, analogous, triadic or another harmony, then see the palette under types of color blindness.
Downside
Its page saves a palette to your library and names no CSS, JSON or Tailwind file.
One color you already have: its harmony partners by name, in a file for your code.
Downside
It needs a Bravely account before it opens, and its schemes are fixed turns of the hue: there is no wheel to drag.
What it doesn’t do
It doesn't make random palettes, and there is no lock or shuffle: every palette starts from a color you choose.
It doesn't build tint and shade scales. Lighter and darker steps are yours to pick on the square.
A gray, black or white base gets no harmony colors.
It doesn't save a palette to your account. The palette lives in the browser tab, so export it to keep it.
It holds one palette at a time, and a swatch can't be edited in place or moved.
Good to know
How a harmony scheme is worked out
Each scheme turns the hue and keeps the saturation and the lightness.
Read more
A scheme is arithmetic on hue. The tool reads your base color as a hue, a saturation and a lightness, turns the hue by the scheme's angles, and keeps the other two numbers. So every color in a scheme is as vivid and as light as the base, and only the hue differs.
That is also why a gray, black or white base gets nothing. With no saturation there is no hue to turn: every angle lands on the same color, and the tool leaves out a color that matches the base. Choose a base with some color in it.
Rounding has one visible effect. The tool works in whole numbers, so with some base colors a scheme also lists a near copy of the base, one step off: #3b82f6 brings #3b83f6 with it. If Add all puts that swatch in your palette, remove it.
Using the exports
Three files, numbered by position, and where the Tailwind one fits.
Read more
The CSS file is a :root block of custom properties, ready to paste into a stylesheet and use as var(--color-100). The JSON file holds the same colors under a colors key, for a build script or another tool to read. In both, the number is the swatch's place in your palette times 100: the first color you added is 100 and the twenty-fourth is 2400. It is a position, never a lightness step, so 100 is not a pale tint and 900 is not a dark shade.
The Tailwind file is a JavaScript config that puts the colors under the name brand. Tailwind's own documentation now defines colors in CSS, as theme variables inside an @theme block, and says a JavaScript config file is still supported but has to be loaded explicitly. So the Tailwind export suits a project that already uses a JavaScript config. A project that keeps its theme in CSS can take the CSS export and rename the variables to fit.
Frequently asked questions
How do I generate a color palette from one color?
Set your base color, choose a harmony scheme and add its colors to the palette. The preview at the top of this page shows what each scheme adds for any base color. To build the palette and export it, open the color picker: choose a scheme, select Add all, then export the file.
What do complementary, analogous and triadic mean?
Each of the six schemes turns your base color's hue by fixed angles. Complementary is the hue opposite, 180 degrees away. Analogous is 30 degrees to either side. Triadic is 120 and 240 degrees. Tetradic is 90, 180 and 270. Split is 150 and 210, the two neighbors of the opposite hue. Rectangle is 60, 180 and 240.
Can I get a random color palette here?
No. This tool starts from a color you pick, and it has no lock or shuffle. When you want palettes to react to, use one of the other generators on this page, then bring a color you like back here for its harmony partners and a code file.
Can I make a color palette from an image?
Yes, with the image color picker, the second tab of the same tool. Open an image, click any pixel for its color, and it lists the picture's main colors, usually six to eight. The image is read in your browser and never uploaded. To export those colors as a file, copy each HEX into the color picker and add it to the palette.
How do I export a palette to CSS or Tailwind?
In the color picker, choose CSS, JSON or Tailwind and select the export button. The file downloads at once: palette.css with one CSS variable per color, palette.json with the same colors as a map, or tailwind.colors.js, a JavaScript config.
Do I need an account, and is my palette saved?
The preview on this page is open to everyone. The color picker, where you build and export a palette, opens after you sign in to a free Bravely account and claim the tool once. The palette is kept in your browser tab, not in your account: it survives a reload and is gone when the tab closes, so export it to keep it.