interface ColorManagement {
    convert: ((color, sourceColorSpace, targetColorSpace) => Color);
    enabled: boolean;
    fromWorkingColorSpace: ((color, targetColorSpace) => Color);
    getPrimaries: ((colorSpace) => ColorSpacePrimaries);
    getTransfer: ((colorSpace) => ColorSpaceTransfer);
    toWorkingColorSpace: ((color, sourceColorSpace) => Color);
    workingColorSpace: WorkingColorSpace;
}

Properties

convert: ((color, sourceColorSpace, targetColorSpace) => Color)

Type declaration

enabled: boolean

Default

false
fromWorkingColorSpace: ((color, targetColorSpace) => Color)

Type declaration

getPrimaries: ((colorSpace) => ColorSpacePrimaries)

Type declaration

getTransfer: ((colorSpace) => ColorSpaceTransfer)

Type declaration

toWorkingColorSpace: ((color, sourceColorSpace) => Color)

Type declaration

Accessors

  • get workingColorSpace(): WorkingColorSpace
  • Returns WorkingColorSpace

    Default

    LinearSRGBColorSpace
    
  • set workingColorSpace(colorSpace): void
  • Parameters

    Returns void