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 Double, _
   ByVal s As Double, _
   ByVal l As Double _
) As RGB
public static RGB HSLtoRGB( 
   double h,
   double s,
   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