Components.WithValue
Extension Method in Components
Declaration
public static Color WithValue(this Color color, float value)
Description
Returns a copy of the color with a new "value" component value using the HSV color model.
Parameters
color | The color to copy. |
value | The new component value in the range [0..1]. |
Returns
Color | A copy of the color with the new "value" component value. |