
generators
CSS Gradient
The ultimate CSS gradient generator with visual preview and code export.
#gradient#color#background
Define a set of named color tokens with a light and a dark value for each, see them applied live to a preview card, and get a complete theme-switching CSS block: a :root default, an automatic @media (prefers-color-scheme: dark) override, and an optional [data-theme] block with a JS toggle function for manual switching that overrides the OS preference.
Theme preview card
This card is styled entirely with your generated custom properties.
Accent buttonStart from the default set (background, surface, border, text, muted, accent) or add your own.
Pick a color for each token in both modes using the swatches.
Toggle Light/Dark to see a real card styled with your generated variables.
Get the :root block, the prefers-color-scheme override, and the manual toggle JS.
From our directory of 30+ CSS tools.
Know a great CSS tool?
Submit it to the directory and help developers discover it.