Calculate an interpolated color on a gradient with multiple points
Obtain the value at the given position. If value is before the first point, the first point's color is returned. If value is after the last point, the last point's color is returned.
Gradient points.
See Implementation
Calculate an interpolated color on a gradient with multiple points