Components.GetLightness
Extension Method in Components
Declaration
public static float GetLightness(this Color color)
Description
Returns the lightness component of the color in the range [0..1] using the HSL color model.
Parameters
color | The color to get the component from. |
Returns
float | The lightness component of the color. |