Gradient Angle Picker

Drag the compass dial to pick any gradient angle and instantly copy the CSS linear-gradient() declaration.

Angle Dial

deg
to right

Live Preview

CSS Output

linear-gradient(90deg, #6366f1, #ec4899)
linear-gradient(to right, #6366f1, #ec4899)
Copied to clipboard!

Common Angles

Summary

Drag the compass dial to pick any gradient angle and instantly copy the CSS linear-gradient() declaration.

How it works

  1. Drag the handle on the compass dial or click anywhere on the dial to set the gradient angle.
  2. Type an angle directly into the degree input field for precise control.
  3. Pick start and end colors using the color pickers.
  4. The live gradient preview and CSS output update instantly.
  5. Click Copy CSS to copy the linear-gradient() declaration to your clipboard.

Use cases

  • Quickly find the exact degree for a diagonal hero background gradient.
  • Confirm the correct angle for matching gradients across multiple UI elements.
  • Learn which numeric degrees correspond to named directions like "to right" or "to bottom left".
  • Copy ready-to-use CSS for buttons, cards, and section backgrounds.
  • Explore how small angle changes affect gradient flow in a design.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu