Function: gradientFill()
ts
function gradientFill(stops, options?): CellFill;Color by position: each cell takes the gradient's color at its centroid. Stops are hex colors (#rgb or #rrggbb), spaced evenly and blended in the OKLab color space, which keeps the middle of the gradient from going muddy.
Parameters
| Parameter | Type |
|---|---|
stops | readonly string[] |
options | GradientOptions |