Good colour schemes are not guesswork — they follow the geometry of the colour wheel. The colour palette generator takes one base colour and builds a harmonious set using classic rules: complementary, analogous, triadic, tetradic and monochromatic. Every swatch shows its HEX and RGB value and copies to the clipboard on click.
The harmonies explained
- Complementary: two hues 180 degrees apart — maximum contrast, great for accents.
- Analogous: neighbouring hues about 30 degrees apart — cohesive and easy on the eye.
- Triadic: three hues evenly spaced 120 degrees apart — balanced but lively.
- Tetradic: four hues in two complementary pairs — rich, needs a dominant colour to anchor it.
- Monochromatic: one hue at several lightness levels — clean and unmistakably unified.
How it works
The base colour is converted to HSL (hue, saturation, lightness), and the harmony is produced by rotating the hue by the required angle while holding saturation and lightness constant. The monochromatic scheme instead steps lightness up and down at a fixed hue. Each generated colour is converted back to HEX and RGB for use in CSS, design tools or code.
Harmony is not accessibility
A palette that looks balanced is not guaranteed to be legible. Before you set text in one of these colours over another, verify the pair against WCAG contrast ratios with a contrast checker — harmony governs how colours feel together, while contrast governs whether text can actually be read.