Gradient Angle Picker

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

Use the Gradient Angle Picker

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

The Gradient Angle Picker lets you set any CSS linear-gradient() direction by dragging an interactive compass dial. It shows the exact degree value, the equivalent named direction when applicable, a live gradient preview, and a ready-to-paste CSS snippet. Adjust the start and end colors to preview exactly how the gradient will look at your chosen angle.

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-05-28 · Reviewed by Nham Vu