HSLtoRGB(Double,Double,Double) Method

Kaliko Image Library

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)
public static RGB HSLtoRGB( 
   System.double h,
   System.double s,
   System.double l
)
public function HSLtoRGB( 
    h: System.Double;
    s: System.Double;
    l: System.Double
): RGB; static; 
public static function HSLtoRGB( 
   h : System.double,
   s : System.double,
   l : System.double
) : RGB;
public: static RGB HSLtoRGB( 
   System.double h,
   System.double s,
   System.double l
) 
public:
static RGB HSLtoRGB( 
   System.double h,
   System.double s,
   System.double 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

This documentation was created using Document! X from Innovasys