IccNamedColor Class

A color of an ICC named color profile: its name, its colorimetry and the device values that reproduce it.

public sealed class IccNamedColor

Remarks

The colorimetry is media-relative, in the profile connection space: CIEXYZ relative to the D50 illuminant (Y = 1 for the media white) and the CIELAB values of the same color relative to that illuminant. Instances are immutable.

Properties

NameDescription
ConnectionSpaceColorGets the media-relative colorimetry of the color: CIEXYZ relative to the D50 illuminant of the profile connection space (Y = 1 for the media white).
ConnectionSpaceLabGets the media-relative colorimetry of the color as CIELAB relative to the D50 illuminant of the profile connection space.
DeviceValuesGets the device values that reproduce the color on the device of the profile, normalized to [0, 1] for the colorants of its data color space (0 is no colorant); empty when the profile does not give them.
NameGets the name of the color: the prefix, the root name and the suffix of a version 2 or 4 profile, concatenated as they are stored ("PMS ", "185" and " C" give "PMS 185 C"), or the name of a version 5 (iccMAX) profile.

ConnectionSpaceColor

IccNamedColor.cs

Gets the media-relative colorimetry of the color: CIEXYZ relative to the D50 illuminant of the profile connection space (Y = 1 for the media white).

public CieXyz ConnectionSpaceColor { get; }

Property value

CieXyz

ConnectionSpaceLab

IccNamedColor.cs

Gets the media-relative colorimetry of the color as CIELAB relative to the D50 illuminant of the profile connection space.

public CieLab ConnectionSpaceLab { get; }

Property value

CieLab

DeviceValues

IccNamedColor.cs

Gets the device values that reproduce the color on the device of the profile, normalized to [0, 1] for the colorants of its data color space (0 is no colorant); empty when the profile does not give them.

public ReadOnlyCollection<double> DeviceValues { get; }

Gets the name of the color: the prefix, the root name and the suffix of a version 2 or 4 profile, concatenated as they are stored ("PMS ", "185" and " C" give "PMS 185 C"), or the name of a version 5 (iccMAX) profile.

public string Name { get; }

Property value

string

Methods

NameDescription
ToString()Returns a string that represents the current object.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.