CssLab Class
lab() (https://drafts.css-houdini.org/css-typed-om-1/#csslab).
public sealed class CssLab : CssColorValue- Inheritance
CssColorValueCssLab
Constructors
| Name | Description |
|---|---|
| CssLab(CssColorChannel, CssColorChannel, CssColorChannel, CssColorChannel?) | https://drafts.css-houdini.org/css-typed-om-1/#dom-csslab-csslab |
CssLab(CssColorChannel, CssColorChannel, CssColorChannel, CssColorChannel?)
CssColorValue.cshttps://drafts.css-houdini.org/css-typed-om-1/#dom-csslab-csslab
public CssLab(CssColorChannel l, CssColorChannel a, CssColorChannel b, CssColorChannel? alpha = null)Properties
| Name | Description |
|---|---|
| A | Gets or sets the a axis channel of the lab() color. |
| Alpha | Gets or sets the alpha (opacity) channel of the lab() color. |
| B | Gets or sets the b axis channel of the lab() color. |
| L | Gets or sets the lightness channel of the lab() color. |
Gets or sets the a axis channel of the lab() color.
public CssColorChannel A { get; set; }Alpha
CssColorValue.csGets or sets the alpha (opacity) channel of the lab() color.
public CssColorChannel Alpha { get; set; }Property value
See also
Gets or sets the b axis channel of the lab() color.
public CssColorChannel B { get; set; }Gets or sets the lightness channel of the lab() 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). |