Components.SetLightness
Extension Method in Components
Declaration
public static void SetLightness(this ref Color color, float lightness)Description
Sets the lightness component of the color to the given value using the HSL color model.
Parameters
| color | The color to set the component on. |
| lightness | The value to set the component to in the range [0..1]. |