Stops and direction
This builds a copyable linear-gradient() in your browser. You need at least two color stops. Set an angle, or switch to a named direction such as to top or to right. The preview updates as you edit.
Preview and CSS
The output is a standard CSS linear gradient you can paste into a stylesheet. Everything runs locally.