Runs in your browser — nothing is uploaded
How to use Theme Palette Generator
Pick your brand colour to get a full shade scale and ready-to-use light and dark theme variables.
- Adjust the controls — the preview updates live.
- Copy the generated CSS.
- Paste it into your stylesheet.
About Theme Palette Generator
A theme palette turns one brand colour into a full scale of shades, from 50 (lightest) to 900 (darkest), and into light and dark theme variables for background, text, borders and the primary colour.
Contrast checks follow WCAG guidance: normal text should reach at least 4.5:1 against its background. Ready-made CSS variables let you switch themes without rewriting every rule.
Questions
Why does my brand colour fail contrast?
Bright or mid-tone colours are often too light for text. Use a darker shade from the scale for text and keep the original for accents.
How do I use the variables in dark mode?
Apply the dark set inside a prefers-color-scheme: dark media query or a theme class.