Color palette generator
Build a five-color palette, lock what you like and copy it as CSS.
Press the space bar to shuffle. Locked colors stay in place.
How to use it
- Press the space bar or select Shuffle colors until something feels close.
- Lock the colors you want to keep, then shuffle again to replace the rest.
- Copy the palette as CSS or JSON, or copy a link to share it.
Which color scheme should you pick?
Analogous colors sit next to each other on the color wheel, so they feel calm and work well for backgrounds and editorial sites. Complementary schemes use opposite hues and give you one strong accent. Triadic schemes are more playful and need one color to lead. Monochrome uses one hue at different lightness levels, which is the easiest scheme to keep tidy.
Reading the contrast number
Each swatch shows its contrast with white or black, whichever is stronger. A value of 4.5:1 or more is the usual minimum for body text. If a color falls short, keep it for large shapes and accents rather than small text.
Common questions
Can I use these palettes in commercial work?
Yes. The colors are generated in your browser, and colors themselves are free to use. Some brands register a specific color as a trademark in a specific market, so avoid copying a competitor’s signature color.
Are my palettes saved?
No. Copy the share link to keep a palette. The colors are stored in the link itself.
Why five colors?
Five covers a typical interface: a background, a surface, a text color, a main accent and a second accent. You can use fewer.
Related guides
- How to choose a brand color palette in five steps
A practical way to pick a main color, supporting colors and neutrals that work on real screens.
- Complementary, analogous and triadic color schemes
The main color wheel schemes, what each one feels like and how to use them.
More free tools
- QR code generator
Create a custom QR code with your colors, shapes and logo, then test that it scans.
- Background remover
Remove the background from a photo right in your browser, then save a PNG.
- Image enhancer
Upscale small photos with AI and fix brightness, sharpness and color.