CSS Gradients

Ready-to-copy gradient CSS — jump into the full gradient editor.

Shortcuts: / search · R randomize · T theme

The full multi-stop gradient editor lives on its own page with CSS, SCSS, Tailwind, SVG and PNG export.

Open the Gradient Generator →

Popular gradient snippets

/* Violet dream */
background: linear-gradient(135deg, #6C5CE7 0%, #00B8D9 100%);
/* Sunset */
background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
/* Deep sea */
background: linear-gradient(135deg, #0F2027 0%, #2C5364 100%);
/* Mint fresh */
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);

Frequently asked questions

What does the css gradients produce?

Ready-to-copy gradient CSS — jump into the full gradient editor. The generated code follows current best practices and works in all modern browsers.

Can I use the generated code commercially?

Yes — everything Yexla generates is yours to use freely in personal and commercial projects, no attribution required.

Does it support dark mode?

The generated variables work in any theme; pair them with a prefers-color-scheme media query or a data-theme attribute to switch palettes.