HsvColorFromHsv Method

Creates a new HsvColor from individual color component values.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static HsvColor FromHsv(
	double h,
	double s,
	double v
)

Parameters

h  Double
The Hue component in the range from 0..360.
s  Double
The Saturation component in the range from 0..1.
v  Double
The Value component in the range from 0..1.

Return Value

HsvColor
A new HsvColor built from the individual color component values.

Remarks

This exists for symmetry with the Color struct; however, the appropriate constructor should commonly be used instead.

See Also