Click or drag to resize
Ab4d.SharpEngine logo

Color3FromHsl(Double, Double, Double) Method

Gets Color3 from HSL (hue, saturation, lightness)

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Color3 FromHsl(
	double hue,
	double saturation = 1,
	double lightness = 0,5
)

Parameters

hue  Double
hue (from 0 to 360)
saturation  Double  (Optional)
saturation (from 0 to 1; 0.5 by default)
lightness  Double  (Optional)
lightness (from 0 to 1; 0.5 by default)

Return Value

Color3
Color3
See Also