Color:
| { space: "rgb"; rgb: number }
| { space: "cmyk"; c: number; m: number; y: number; k: number }
| { space: "gray"; gray: number }
| {
space: "separation";
name: string;
tint: number;
cmyk: [number, number, number, number];
}
| { space: "icc"; components: number[]; profile: Uint8Array }
A fill colour in any authored colour space (ISO 32000-1 §8.6), for GigaPdfDoc.addFilledRectangle/GigaPdfDoc.addFilledPolygon/ GigaPdfDoc.addTextColor.
cmyk/grayare press-ready;separationis a spot ink (with itsDeviceCMYKtint approximation);iccembeds a profile. CMYK/gray/tint components are0…1;rgbis packed0xRRGGBB.