A two-colour gradient is the simplest and most versatile CSS gradient — clean, fast to implement, and effective for backgrounds, buttons, and dividers. FixTools generates the CSS for any two-colour linear or radial gradient in seconds.
Simple two-stop gradient configuration
Set any angle for directional control
Instant live preview
CSS Tool
All processing happens in your browser — your files are never uploaded to any server.
🚀Open Gradient100% Free · No account · Works on any device
Pick two colours and set direction. Example output: background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%)
Step-by-step guide to two-color css gradient generator:
Select your two colours
Open the gradient generator and add two colour stops. Set the first colour (0%) and the second colour (100%).
Choose direction
Set the angle or use a directional keyword. Popular choices: 90deg (left to right), 135deg (diagonal), to bottom (top to bottom).
Preview
The live preview shows your two-colour gradient in real time.
Copy the CSS
Copy the background: linear-gradient(direction, color1 0%, color2 100%) output.
More use-case guides for the same tool:
Open the full Gradient — free, no account needed, works on any device.
Open Gradient →Free · No account needed · Works on any device