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