ColorHelper.FromHsv(Double, Double, Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Color from the specified hue, saturation, value, and alpha values.
public static Windows.UI.Color FromHsv (double hue, double saturation, double value, double alpha = 1);
static member FromHsv : double * double * double * double -> Windows.UI.Color
Public Function FromHsv (hue As Double, saturation As Double, value As Double, Optional alpha As Double = 1) As Color
Parameters
- hue
- Double
0..360 range hue
- saturation
- Double
0..1 range saturation
- value
- Double
0..1 range value
- alpha
- Double
0..1 alpha
Returns
The created Color.