Components.SetLightness100
Extension Method in Components
Declaration
public static void SetLightness100(this ref Color color, int 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..100]. |