HsvColorToRgb(Double, Double, Double, Double) Method
Converts the given HSVA color component values to their RGB color equivalent.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Color ToRgb(
double hue,
double saturation,
double value,
double alpha = 1
)
Public Shared Function ToRgb (
hue As Double,
saturation As Double,
value As Double,
Optional alpha As Double = 1
) As Color
static member ToRgb :
hue : float *
saturation : float *
value : float *
?alpha : float
(* Defaults:
let _alpha = defaultArg alpha 1
*)
-> Color
- hue Double
- The Hue component in the HSV color model in the range from 0..360.
- saturation Double
- The Saturation component in the HSV color model in the range from 0..1.
- value Double
- The Value component in the HSV color model in the range from 0..1.
- alpha Double (Optional)
- The Alpha component in the range from 0..1.
ColorA new RGB
Color equivalent to the given HSVA values.