Ferramentas para programadores

CSS Gradient Generator

Build a linear or radial CSS gradient from color stops and copy the ready-to-paste declaration.

CSS Gradient Generator workspace

Como usar

Pick linear or radial, set the angle for linear gradients, add color stops, then Copy CSS. Use the preview to check the blend before pasting into your stylesheet.

Exemplo

Stops need a color and a position percent. The preview updates as you edit.

Entrada

linear 90deg, #2563eb 0%, #7c3aed 100%

Saída

background-image: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);

Como funciona

Stops are sorted by position and joined into a standard CSS gradient function. Radial mode uses a circle gradient; the angle applies to linear mode.

Erros comuns

  • Only one stop was entered Add at least two stops so a gradient can form.
  • The CSS looked invalid Check hex colors and positions from 0 to 100.
  • You needed a conic gradient Only linear and radial are offered here.

Limitações

There is no mesh gradient editor and no export to PNG. Browser support for older gradient syntax is not polyfilled.

Privacidade

The text you paste is processed in your browser. PepsTools does not receive it, store it, or send it to another service.

Perguntas

Is the CSS uploaded?

No. Generation stays in the browser.