Design
CSS Linear Gradient Generator
Preview a linear gradient and copy its CSS.
⌘ / Ctrl K
⌘ / Ctrl + Enter
Output
Your result will appear here
Choose your settings, then run the tool.How to use this tool
Build a two-color background gradient without manually writing the CSS syntax. Choose endpoint colors and an angle to produce a linear-gradient value.
- Choose the start and end colors.
- Set the angle in degrees.
- Select Generate gradient, review the preview, and copy the CSS.
Example
linear-gradient(90deg, #000000, #ffffff)
Can it generate radial gradients or multiple color stops?
This generator produces a linear gradient with two endpoint colors. Radial gradients and extra stops require editing the resulting CSS yourself.
Is my input uploaded or saved?
No. Processing happens locally in your browser. Tool inputs and results remain in memory and clear when you switch tools or reload. Only theme and favorite IDs are stored. Your clipboard and web host have their own behavior, explained in the privacy policy.