Components.WithBrightness100
Extension Method in Components
Declaration
public static Color WithBrightness100(this Color color, int brightness)
Description
Returns a copy of the color with a new brightness component value using the HSB color model.
Parameters
color | The color to copy. |
brightness | The new component value in the range [0..100]. |
Returns
Color | A copy of the color with the new brightness component value. |