Linear Gradients

A Linear Gradient is a graphical fill that transitions smoothly between two or more colors along a straight line. It is defined by a starting point, an ending point (or angle), and a series of color stops.

Technical Implementation

CSS

In web development, linear gradients are created using the linear-gradient() function.

  • Syntax: linear-gradient([<angle> | to <side-or-corner>], <color-stop-list>)
  • Direction: Defaults to to bottom (180deg). Can be specified via degrees or keywords (e.g., to right, 45deg).
  • Color Stops: Defined as <color> [<percentage>]. If no position is specified, stops are distributed evenly.

Vector Graphics

In SVG and vector editors, linear gradients are defined by a coordinate system (x1, y1, x2, y2) or an angle, mapping color interpolation across the shape’s bounding box or user space.

Recent Developments & Software Updates

Adobe Camera Raw (ACR) 18.4

As of June 2026, Adobe Camera Raw introduced significant enhancements to gradient tools, specifically regarding masking and directional control. See Camera Raw 18.4 Updates: AI Masking, Gradients, and Workflow Enhancements for detailed breakdown.

Key updates include:

References