Adjustment.Desaturated
Extension Method in Adjustment
Declaration
public static Color Desaturated(this Color color, float decrease = 0.1F)
Description
Returns a new instance of the color with decreased saturation.
Parameters
color | The color to adjust. |
decrease | The amount to decrease the saturation [0..1] (default=0.1). |
Returns
Color | A new instance of the color with decreased saturation. |
Overload
Declaration
public static Color[] Desaturated(this Color baseColor, int amount)
Description
Generates a given amount of desaturated colors from the base color.
Parameters
baseColor | The base color to generate new colors from. |
amount | The amount of desaturated colors to generate. |
Returns
Color[] | The array of desaturated colors. |