Generador de degradados
Diseña degradados CSS lineales y radiales con hasta cuatro paradas de color, previsualízalos en vivo y copia el CSS.
Preview
Blend steps between the first and last stop
Cómo usar
- Set each color stop. Use Add stop to grow the gradient to up to four colors.
- Switch between linear and radial, and set the direction with the angle slider for linear gradients.
- The CSS under the preview is ready to use; Copy CSS copies it with the background property included.
- Random gradient builds a fresh gradient from cryptographically secure random values.
Notas
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.
Preguntas frecuentes
- 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.