CssOkLab Class
oklab() (https://drafts.css-houdini.org/css-typed-om-1/#cssoklab).
public sealed class CssOkLab : CssColorValue- Inheritance
CssColorValueCssOkLab
Constructors
| Name | Description |
|---|---|
| CssOkLab(CssColorChannel, CssColorChannel, CssColorChannel, CssColorChannel?) | https://drafts.css-houdini.org/css-typed-om-1/#dom-cssoklab-cssoklab |
CssOkLab(CssColorChannel, CssColorChannel, CssColorChannel, CssColorChannel?)
CssColorValue.cshttps://drafts.css-houdini.org/css-typed-om-1/#dom-cssoklab-cssoklab
public CssOkLab(CssColorChannel l, CssColorChannel a, CssColorChannel b, CssColorChannel? alpha = null)Properties
| Name | Description |
|---|---|
| A | Gets or sets the a axis channel of the oklab() color. |
| Alpha | Gets or sets the alpha (opacity) channel of the oklab() color. |
| B | Gets or sets the b axis channel of the oklab() color. |
| L | Gets or sets the lightness channel of the oklab() color. |
Gets or sets the a axis channel of the oklab() color.
public CssColorChannel A { get; set; }Alpha
CssColorValue.csGets or sets the alpha (opacity) channel of the oklab() color.
public CssColorChannel Alpha { get; set; }Property value
See also
Gets or sets the b axis channel of the oklab() color.
public CssColorChannel B { get; set; }Gets or sets the lightness channel of the oklab() color.
public CssColorChannel L { get; set; }Methods
| Name | Description |
|---|---|
| ToString() | The serialization of the value (https://drafts.css-houdini.org/css-typed-om-1/#stylevalue-serialization). |