Click or drag to resize
Ab4d.SharpEngine logo

Color4FromHsv(Double, Double, Double, Double) Method

Gets Color4 from HSV (hue, saturation, value / brightness)

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Color4 FromHsv(
	double hue,
	double saturation = 1,
	double value = 1,
	double alpha = 1
)

Parameters

hue  Double
hue (from 0 to 360)
saturation  Double  (Optional)
saturation (from 0 to 1; 1 by default)
value  Double  (Optional)
value or brightness (from 0 to 1; 1 by default)
alpha  Double  (Optional)
alpha (1 by default)

Return Value

Color4
Color4
See Also