Skip to content
Yunedia Tools

Générateur de dégradés

Concevez des dégradés CSS linéaires et radiaux avec jusqu'à quatre arrêts de couleur, prévisualisez-les en direct et copiez le CSS.

Preview

Blend steps between the first and last stop

Comment utiliser

  1. Set each color stop. Use Add stop to grow the gradient to up to four colors.
  2. Switch between linear and radial, and set the direction with the angle slider for linear gradients.
  3. The CSS under the preview is ready to use; Copy CSS copies it with the background property included.
  4. Random gradient builds a fresh gradient from cryptographically secure random values.

Remarques

Stops are placed at even intervals automatically (0% and 100% for two stops; 0%, 50% and 100% for three). The blend strip below the preview interpolates the first and last colors in RGB space across ten steps, so you can judge how smooth the transition is. All processing happens in your browser.

Questions fréquentes

Which direction is 0 degrees?
In CSS linear-gradient, 0deg points upward (bottom to top), 90deg points right and 180deg points down. The angle here follows the CSS specification exactly.