 |
Color3FromHsl(Single, Single, Single) Method |
Gets Color3 from HSL (hue, saturation, lightness)
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static Color3 FromHsl(
float hue,
float saturation = 1f,
float lightness = 0,5f
)
Parameters
- hue Single
- hue (from 0 to 360)
- saturation Single (Optional)
- saturation (from 0 to 1; 0.5 by default)
- lightness Single (Optional)
- lightness (from 0 to 1; 0.5 by default)
Return Value
Color3Color3
See Also