 |
Color4FromHsl(Double, Double, Double, Double) Method |
Gets Color4 from HSL (hue, saturation, lightness)
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static Color4 FromHsl(
double hue,
double saturation = 1,
double lightness = 0,5,
double alpha = 1
)
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)
- alpha Double (Optional)
- alpha (1 by default)
Return Value
Color4Color4
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.Color4.FromHsl(System.Double,System.Double,System.Double,System.Double)"]
See Also