📋 Instructions: How to Use?

  1. Select your 'Color 1' and 'Color 2' using the color pickers.
  2. Drag the 'Angle' slider to rotate the gradient. The angle in degrees will update.
  3. Alternatively, click the Direction Buttons (like ↗, ↓, ←) to snap to common angles.
  4. The 'Preview' box will update live with your changes.
  5. When you're happy, click the 'Copy CSS' or 'Share Gradient' button.

CSS Gradient Generator

Visually create beautiful linear gradients and copy the CSS code.

Controls

90 deg

Want to Learn How This Works?

This tool uses JavaScript to dynamically update CSS styles. To learn JavaScript from scratch, check out the free 15,000-word guides on CodeWithMSMAXPRO.me.

CodeWithMSMAXPRO.me Homepage