Color Palette Generator

Build a colour palette from one base colour.

Color Palette Generator tool

Palette

Shade scales

Export

About the Color Palette Generator

Choosing colors that work together is easier with the color wheel's harmony rules. This color palette generator builds a set of colors around one you choose: complementary for strong contrast, analogous for a calm and related look, triadic and tetradic for balanced variety, and monochrome for tints and shades of a single hue. Each color is shown with its HEX and HSL values, ready to copy into a website, presentation, logo brief or social media template. A brand color plus a few neutrals and one accent is usually enough for a clean design. To check that text remains readable, use the Color Contrast Checker, and to take colors from a photo, Color Palette from Image.

Every colour in the palette appears as a large swatch labelled with its HEX, RGB and HSL values, and each one also gets a scale of nine lighter and darker steps. That scale is what real interfaces need, from pale background tints to deep text tones, and it is the part a single base colour cannot give you on its own.

Readability is tested while you work. Each palette colour is checked against white text and black text, and the ratings reveal straight away which colours are strong enough to carry words and which should be kept for backgrounds, borders and illustrations. Finding that out at the start is far cheaper than discovering it once the design is finished.

How to use the Color Palette Generator

  1. Pick a base colourChoose one with the picker, type a HEX value or let the tool pick one at random.
  2. Pick a colour-wheel ruleChoose from six: opposite colours, neighbouring colours, three evenly spaced, four evenly spaced, split complementary or one hue in different strengths.
  3. Look over the paletteCheck each colour's values, its nine-step scale and its contrast rating.
  4. Export itCopy a list of HEX codes, a block of CSS custom properties or a Tailwind-style config.

Color Palette Generator features

  • Six colour-wheel harmonies built from one base colour
  • HEX, RGB and HSL values for every swatch
  • A nine-step scale of tints and shades for each colour
  • Readability rating against white and against black text
  • Lock the colours you like and regenerate the others
  • Random palettes for quick exploration
  • Export as HEX codes, CSS custom properties or a config block

Common uses

  • Picking the colour scheme for a new website or app
  • Producing the shade scales a design system relies on
  • Finding an accent that suits an existing brand colour
  • Seeing which palette colours are safe behind text
  • Trying out several schemes before settling on one

Building a palette in practice: a tuition academy brand, the 60-30-10 rule, semantic colours, colour blindness checks and dark mode

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

A palette is more than a handful of attractive swatches: it is a system that tells everyone which colour to use for backgrounds, text, buttons, warnings and highlights. This guide builds a palette for a tuition academy from its logo colour, then covers the 60-30-10 balance, colours for success and errors, testing in real layouts, colour blindness checks, dark mode and handing the palette to others.

A worked example: a tuition academy

An academy's logo uses a deep navy, #1E3A8A, which has a contrast of about 10.4 to 1 with white, so it works for headings and buttons. A complementary harmony suggests a warm orange accent for calls to action, used sparingly. Neutral greys handle text and borders, and a pale tint of the navy serves as a section background. The result feels trustworthy and academic, with energy reserved for the actions that matter.

The 60-30-10 balance

A useful guideline gives about 60 percent of a design to a dominant, usually neutral colour, 30 percent to a secondary colour and 10 percent to an accent. For the academy, white and pale navy dominate, navy forms the secondary layer and orange is the accent. Accents lose their power when used everywhere.

Semantic colours

Success, warning, error and information messages need their own colours, typically green, amber, red and blue, separate from brand colours. If the brand colour is itself green or red, choose semantic shades that are clearly different, so a success message is never mistaken for a branded banner.

Test in real layouts

Swatches side by side can look harmonious and still fail on a page. Apply the palette to a real screen, such as a course listing with buttons, alerts and a form, and judge it there. Problems like accents that clash with photos or greys that are too faint only appear in context.

Colour blindness checks

Browser developer tools can simulate common colour vision deficiencies. Check that buttons, charts and status messages remain distinguishable under these simulations, and add icons or labels where colours alone would be ambiguous, for example in a chart showing pass and fail rates.

Dark mode

A dark version of the palette is not a simple inversion. Backgrounds become dark greys rather than pure black, brand colours often need slightly lighter, less saturated versions and accents may need adjusting to avoid glowing. Define the dark palette alongside the light one so both stay in step.

Keep it small

Most brands need only one or two main colours, a neutral scale and the semantic set. Large palettes lead to inconsistent choices, as different people pick different shades for the same purpose. A small, well-documented palette is easier to apply across websites, social media, print and signage.

Handing over the palette

Share the palette as named colours with HEX, RGB and CMYK values, plus notes on where each is used. Printers, sign makers and freelance designers can then reproduce the brand accurately, and the CSS export keeps the website in step with everything else.

Common mistakes

  • Using the accent colour for large areas.
  • Mixing brand colours with success and error colours.
  • Judging a palette only from swatches.
  • Inverting a light palette to create dark mode.

Related tools

To create tints and shades of each colour, use Color Shades Generator. To check combinations for readability, try Color Contrast Checker, and to blend palette colours, CSS Gradient Generator.

Palettes and photography

Websites full of product photos, such as clothing or furniture shops, need palettes that do not compete with the products. Neutral backgrounds and a single restrained accent let the products' own colours stand out, while busy, saturated palettes make catalogues look cluttered.

Standing apart from competitors

Look at the colours competitors use before settling on a palette. If most banks or schools in your area use blue and green, a distinctive but still appropriate colour can make a brand easier to recognise and remember, while matching the sector's expectations of trust and seriousness.

Signs and outdoor materials

Shop signs, banners and vehicle graphics are made with vinyls, paints and printed materials that only approximate screen colours, and they fade in strong sunlight. Ask sign makers which of their materials come closest to your palette, and choose durable colours for items that will spend years outdoors.

Evolving a palette

When a palette needs refreshing, change it gradually through its named colours rather than replacing everything at once. Because components refer to names such as brand and accent rather than raw codes, updating a few values updates the whole site, and changes can be tested before they go live.

Document approved pairs

Alongside the palette, list which text and background combinations are approved, with their contrast ratios, such as navy text on white or white text on navy. Designers and developers can then combine colours confidently without checking every pair themselves, and accessibility stays consistent across new pages.

Name colours by role

Name palette colours by their job, such as primary, accent, surface, text, success and danger, rather than by their appearance. Role-based names survive a rebrand: if the accent changes from orange to teal, the name still fits, and every place that uses it updates automatically.

Privacy

Palettes are generated in your browser. Nothing is uploaded or stored.

Further reading: HEX, RGB and HSL Colour Codes, and Accessible Contrast.

Frequently asked questions

What are the different harmony types?

They describe where colours sit on the colour wheel. Complementary uses the opposite side for strong contrast, analogous uses close neighbours for a calm look, triadic and tetradic spread colours evenly, and monochromatic keeps a single hue at different lightness levels.

How do I choose the right harmony?

Analogous suits calm and cohesive designs, complementary works when one strong accent should stand out against a main colour, and monochromatic gives a quiet, understated interface. Triadic and tetradic schemes offer more variety but need more care to keep balanced.

What is the shade scale for?

Real screens need several versions of each colour: a faint panel tint, an outline, the shade a button takes under the pointer and the one it takes when pressed. Building all of them from the same base keeps them clearly related and saves you mixing each step by hand.

What does the contrast rating mean?

It tells you whether white or black text would be readable on that colour by the accessibility thresholds. Medium tones often fail with both, which means they work best as backgrounds, borders or decoration rather than behind words.

Is it possible to hold on to a favourite swatch while the others change?

Yes. Lock any swatch you are happy with and generate again; the locked colours stay in place while the others are rebuilt around them using the harmony you picked.

How do I use the exported CSS custom properties?

Paste the block into a :root rule near the top of your stylesheet. Each colour then becomes a variable, such as var(--color-1), that you can use anywhere in your CSS and change in one place later.