CSS Variable Generator
Build a color token list, preview each variable, and copy ready-to-use CSS custom properties.
How to use
- Enter a variable prefix such as brand, theme, or ui.
- Update each variable name and pick a color.
- Add more rows if you need extra variables.
- Copy the generated CSS and paste it into your stylesheet.
Color preview
--brand-primary
--brand-secondary
--brand-accent
Generated CSS variables
:root {
--brand-primary: #4f46e5;
--brand-secondary: #06b6d4;
--brand-accent: #f59e0b;
}