Kaliko.ImageLibrary
HSLtoRGB(Double,Double,Double) Method
Hue, must be in [0, 360].
Saturation, must be in [0, 1].
Luminance, must be in [0, 1].
Converts HSL to RGB.
Syntax
'Declaration
Public Overloads Shared Function HSLtoRGB( _ ByVal h As System.Double, _ ByVal s As System.Double, _ ByVal l As System.Double _ ) As RGB
'Usage
Dim h As System.Double Dim s As System.Double Dim l As System.Double Dim value As RGB value = ColorSpaceHelper.HSLtoRGB(h, s, l)
Parameters
- h
- Hue, must be in [0, 360].
- s
- Saturation, must be in [0, 1].
- l
- Luminance, must be in [0, 1].
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also