Adjustment.Saturated

Extension Method in Adjustment

Declaration

public static Color Saturated(this Color color, float increase = 0.1F)

Description

Returns a new instance of the color with increased saturation.

Parameters

colorThe color to adjust.
increaseThe amount to increase the saturation [0..1] (default=0.1).

Returns

ColorA new instance of the color with increased saturation.

Overload

Declaration

public static Color[] Saturated(this Color baseColor, int amount)

Description

Generates a given amount of saturated colors from the base color.

Parameters

baseColorThe base color to generate new colors from.
amountThe amount of saturated colors to generate.

Returns

Color[]The array of saturated colors.