allc
Version:
A small typescript package for color conversion.
31 lines • 1.21 kB
TypeScript
/**
* Calculates the red component of linear DCI-P3 "D60 sim" from CIE 1931 XYZ.
*
* @param x The X component of CIE 1931 XYZ.
* @param y The Y component of CIE 1931 XYZ.
* @param z The Z component of CIE 1931 XYZ.
*
* @returns The red component of linear DCI-P3 "D60 sim".
*/
export declare const toLinearDCIP3D60RFromCIE1931XYZ: (x: number, y: number, z: number) => number;
/**
* Calculates the green component of linear DCI-P3 "D60 sim" from CIE 1931 XYZ.
*
* @param x The X component of CIE 1931 XYZ.
* @param y The Y component of CIE 1931 XYZ.
* @param z The Z component of CIE 1931 XYZ.
*
* @returns The green component of linear DCI-P3 "D60 sim".
*/
export declare const toLinearDCIP3D60GFromCIE1931XYZ: (x: number, y: number, z: number) => number;
/**
* Calculates the blue component of linear DCI-P3 "D60 sim" from CIE 1931 XYZ.
*
* @param x The X component of CIE 1931 XYZ.
* @param y The Y component of CIE 1931 XYZ.
* @param z The Z component of CIE 1931 XYZ.
*
* @returns The blue component of linear DCI-P3 "D60 sim".
*/
export declare const toLinearDCIP3D60BFromCIE1931XYZ: (x: number, y: number, z: number) => number;
//# sourceMappingURL=to-linear-dci-p3-d60.d.ts.map