API Reference
Class
HtmlCssColorFunctionValue
A provider-independent sRGB, HSL, or HWB functional color.
Inheritance
- Object
- HtmlCssColorFunctionValue
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlCssPropertyValue.ColorFunction
Inherited Methods
Properties
public HtmlCssColorFunctionKind Kind { get; } #Color function model.
public IReadOnlyList<HtmlCssColorComponent> Components { get; } #Three model-specific components in source order.
public HtmlCssColorComponent Alpha { get; } #Alpha component; an omitted alpha is represented as the number 1.
public Boolean UsesLegacyCommaSyntax { get; } #Whether rgb()/rgba() or hsl()/hsla() used the legacy comma grammar.