Colour Palette Generator
Make a matching colour palette from one base colour, with CSS variables.
Runs on your device. Files are never uploaded.How to use Colour Palette Generator
- Pick a base colour
- Choose a colour scheme
- Copy the hex codes or CSS
About this tool
Choose a base colour and a scheme: analogous, complementary, triadic, tetradic, split-complementary or shades. Copy the hex codes or the ready-made CSS variables.
Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.
Questions
Which scheme is safest?
Analogous and shades always look harmonious. Complementary and triadic give more contrast, so use them sparingly.
Guides
How to check colour contrast for accessibility (WCAG)
Check whether text and background colours meet WCAG AA and AAA contrast ratios for normal and large text, and learn which ratio you need.
CSS box-shadow explained: offsets, blur, spread and inset
Learn what each box-shadow value does and build one with sliders, including inner shadows and a matching drop-shadow filter for icons.
How to generate a colour palette from one base colour
Choose a base colour and make analogous, complementary, triadic, tetradic, split-complementary or shade palettes, with CSS variables ready to copy.