interface ColorManagement {
    convert: ((color: Color, sourceColorSpace: string, targetColorSpace: string) => Color);
    define: ((colorSpaces: Record<string, ColorSpaceDefinition>) => void);
    enabled: boolean;
    fromWorkingColorSpace: ((color: Color, targetColorSpace: string) => Color);
    getLuminanceCoefficients: ((target: Vector3, colorSpace?: string) => [number, number, number]);
    getPrimaries: ((colorSpace: string) => [number, number, number, number, number, number]);
    getTransfer: ((colorSpace: string) => ColorSpaceTransfer);
    spaces: Record<string, ColorSpaceDefinition>;
    toWorkingColorSpace: ((color: Color, sourceColorSpace: string) => Color);
    workingColorSpace: string;
}

Properties

convert: ((color: Color, sourceColorSpace: string, targetColorSpace: string) => Color)
define: ((colorSpaces: Record<string, ColorSpaceDefinition>) => void)
enabled: boolean
true
fromWorkingColorSpace: ((color: Color, targetColorSpace: string) => Color)
getLuminanceCoefficients: ((target: Vector3, colorSpace?: string) => [number, number, number])
getPrimaries: ((colorSpace: string) => [number, number, number, number, number, number])
getTransfer: ((colorSpace: string) => ColorSpaceTransfer)
spaces: Record<string, ColorSpaceDefinition>
toWorkingColorSpace: ((color: Color, sourceColorSpace: string) => Color)
workingColorSpace: string
LinearSRGBColorSpace