GamutDesk Logo
GamutDesk

Linear CSS Gradient Maker

Visual builder for CSS linear-gradient() with cardinal angle presets, multi-stop slider positions, and instant CSS export.

Client-Side ArchitecturePrivate Client-Side Processing
linear-gradient(135deg, ...)
Angle Rotation135°
Color Stops (3/8)
0%
50%
100%
CSS Linear Gradient Rule
background: #1E3A8A;
background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #10B981 100%);

Technical Specification & Mathematical Principles

The gradient line passes through the center of the box, with length L = |w * sin(θ)| + |h * cos(θ)| where w and h are viewport dimensions.

Related Gradient Instruments

Frequently Asked Questions

How does CSS calculate linear gradient angle orientation?
In W3C specifications, 0deg points upward (to top), and angles rotate clockwise. 90deg is to the right, 180deg is to the bottom, and 270deg is to the left.
Can I use rgba() or oklch() color stops in linear gradients?
Yes, modern CSS linear-gradient syntax fully supports rgba, hsl, and oklch functions as stop values.
What is the performance cost of rendering CSS gradients on mobile?
CSS linear gradients are computed natively by the device GPU as lightweight vector shaders, which is significantly faster and consumes less memory than downloading high-resolution PNG background images.

Related Design & Color Instruments