Nevron.UI Namespace / NColorHelper Class / ColorToHSL Method


ColorToHSL Method
Syntax
'Declaration
 
Public Shared Sub ColorToHSL( _
   ByVal c As System.Drawing.Color, _
   ByRef hue As System.Single, _
   ByRef sat As System.Single, _
   ByRef lum As System.Single _
) 
 
'Usage
 
Dim c As System.Drawing.Color
Dim hue As System.Single
Dim sat As System.Single
Dim lum As System.Single
 
NColorHelper.ColorToHSL(c, hue, sat, lum)

Parameters

c
hue
sat
lum
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