Click or drag to resize
Ab4d.SharpEngine logo

Color3FromHsv(Double, Double, Double) Method

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

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public static Color3 FromHsv(
	double hue,
	double saturation = 1,
	double value = 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)

Return Value

Color3
Color3
See Also