Sinua
Tune the lookMaterials

Gradient

A colour ramp by position across the frame.

A gradient colours elements by where they sit: a sweep from one hue to another (or three) across the frame, and along each stroke on rings, beacons and signal traces. The full guide is on Colour & theme.

ring · tracking

Cost and low power

No extra elements. Sheddable in low power (disable: ["gradient"]), which falls back to the pattern's plain colour.

Props

A colour ramp by position across the frame. In an FX Spec: /gradient. Off until gradient.strength is above 0.

PropFX SpecTypeRangeDefaultDescription
gradient.angle/gradient/anglenumber-360–720 (UI 0–360) deg90Direction of the ramp, CSS-style (0 = up, clockwise).
gradient.hue2/gradient/hue2number-720–1080 deg320Hue at the end (or middle, with a third stop) of the ramp.
gradient.hue3/gradient/hue3number-720–1080 degOptional third stop's hue; absent = a two-stop ramp.
gradient.hue/gradient/huenumber0–360 deg200Hue at the start of the ramp.
gradient.mid/gradient/midnumber0.05–0.95 fraction0.5Position of the middle stop along the ramp (three stops).
gradient.saturation/gradient/saturationnumber0–1 fraction0.8Saturation the ramp blends toward.
gradient.strength/gradient/strengthnumber0–1 fraction0Amount of the colour ramp; 0 turns it off. Also accepted: gradientStrength.

On this page