charton API / @chart-on/core / index / buildLut
Function: buildLut()
buildLut(
stops,size?):Uint8Array
Defined in: packages/core/src/util/color.ts:142
Linear-interpolated RGBA lookup table from evenly spaced color stops.
Parameters
stops
readonly string[]
size?
number = 256
Returns
Uint8Array