@tempots/color

RGB.ofChannels property

Creates an RGB instance from an array of normalized RGB channel values.

Signature:

static readonly ofChannels: ([r, g, b]: [r: number, g: number, b: number]) => RGB;