About the Color Palette Generator
Start with your brand color or a random one and get matching palettes based on color theory. Click any swatch to copy its HEX code, or export the palette as CSS custom properties.
Choosing colours that work together is one of the hardest parts of design for non-designers. Colour theory offers reliable shortcuts: colours next to each other on the wheel feel calm, opposite colours create contrast, and evenly spaced colours feel lively. This generator applies those rules to a base colour you choose, such as your brand colour, or to a random one.
Choose a harmony: shades (lighter and darker versions of one hue), analogous, complementary, split-complementary, triadic or tetradic. Each palette is calculated in HSL from your base colour. Click any swatch to copy its HEX code, copy the whole palette as a list of HEX codes, or copy it as CSS custom properties ready to paste into a stylesheet.
How to use the Color Palette Generator
- 1Pick a base color or press Random.
- 2Choose a harmony: shades, analogous, complementary, triadic or tetradic.
- 3Click a swatch to copy it, or copy all as CSS variables.
Key features
- Six harmony types.
- Start from any base colour or random.
- Click to copy HEX.
- Copy all as CSS variables or a HEX list.
- Calculated with HSL colour maths.
Practical uses
- Building a colour scheme around a brand colour.
- Choosing accent colours for a website or app.
- Creating palettes for slides, posters and social graphics.
- Exploring colour theory in design classes.
Example
Starting from orange #f97316, the complementary palette adds a blue on the opposite side of the colour wheel, a strong pairing for call-to-action buttons on a calm background.
Tips and common mistakes
- Use one dominant colour, one secondary and one accent rather than all palette colours equally.
- Check text and background pairs with the Color Contrast Checker.
- Shades of a single hue make consistent hover and border colours.
Limitations
- Palettes are mathematical; they do not account for brand meaning or culture.
- Individual colours cannot be locked while others change.
Privacy
Colours are generated locally.
Frequently asked questions
What is a complementary palette?
It uses colors opposite each other on the color wheel, which gives strong contrast.
Which harmony is best for a website?
Shades of one color plus one complementary accent is a safe, professional choice.
Can I lock a color and randomize the rest?
Change the base color instead; every palette is calculated from it.
What is a triadic palette?
Three colours evenly spaced at 120° around the colour wheel, giving a vibrant but balanced look.
What is a split-complementary palette?
It uses the base colour plus the two colours next to its opposite, giving contrast that is softer than a straight complementary pair.