P3
Display P3 color (a wider gamut than sRGB) with 0-1 channels. Holds gamma-encoded values (as from toP3) or linear-light values (as from linearSrgbToLinearP3), depending on the producer.
import type { P3 } from '@pbroom/color-kit';types.ts:125interface P3 {
r: number;
g: number;
b: number;
alpha: number;
}