...master 2026-11-12 (1037e2069+unstaged)

Color

Colors are specified as arrays with the appropriate number of components for the associated ColorSpace. Each component value is stored as floating point value between 0 and 1, where 0 means no colorant and 1 means maximum colorant.

For example:

In TypeScript this is defined as follows:

type Color = [number] | [number, number, number] | [number, number, number, number]