Linearly interpolate between color stops to get a color along this gradient.
A value between min, max
to use for selecting a color along this
gradient. An x
value of min
will select the first color stop, and an x
value of max
will select the last color stop. If min
and max
are not
present, x
should be a normalized value.
The minimum range of the color scale
The maximum range of the color scale
The interpolated color
Represents a linear, uniform color gradient.