CssColorProfileRule Class

The @color-profile rule (https://drafts.csswg.org/css-color-5/#at-profile): the ICC profile of a custom color space, whose colors are written color(--name ...).

public sealed class CssColorProfileRule : CssRule
Inheritance
CssRule CssColorProfileRule

Properties

NameDescription
ComponentsGets the components descriptor of the rule (the names of the components), or an empty string when it is not set.
NameGets the name of the color profile: a dashed identifier (including the leading --) or device-cmyk.
RenderingIntentGets the rendering-intent descriptor of the rule, or an empty string when it is not set.
SrcGets the src descriptor of the rule (the URL of the ICC profile), or an empty string when it is not set.

Components

CSSRules.cs

Gets the components descriptor of the rule (the names of the components), or an empty string when it is not set.

public string Components { get; }

Gets the name of the color profile: a dashed identifier (including the leading --) or device-cmyk.

public string Name { get; }

RenderingIntent

CSSRules.cs

Gets the rendering-intent descriptor of the rule, or an empty string when it is not set.

public string RenderingIntent { get; }

Gets the src descriptor of the rule (the URL of the ICC profile), or an empty string when it is not set.

public string Src { get; }