@tempots/color

RGB.toChannels property

Converts the color to an array of normalized RGB channel values.

Signature:

readonly toChannels: () => [number, number, number];