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