Table of Contents

Enum KnownColorSpace

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

Provides a list of known color spaces that can be used to create IColorContext and IDeviceColorContext instances.

public enum KnownColorSpace
Extension Methods

Fields

Srgb = 0

Specifies the sRGB color space.

This is the default color space when the pixel format is using integer color components.

ScRgb = 1

Specifies the scRGB color space, which is the wide color gamut expansion of sRGB. It uses linear (1.0) gamma, and supports High Dynamic Range (HDR).

This is the default color space when the pixel format is using floating-point color components. It is well-suited for pixel formats such as Rgba64Half and Rgba128Float.

AdobeRgb = 2

Specifies the Adobe RGB (1998) color space.

DisplayP3 = 3

Specifies the Display P3 color space.

ProPhotoRgb = 4

Specifies the ProPhoto RGB color space.

Rec2020 = 5

Specifies the Rec. 2020 color space.