Nevron .NET Vision
Nevron.UI Namespace / NColorHelper Class / ColorToHSL Method


In This Topic
    ColorToHSL Method
    In This Topic
    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)
    public static void ColorToHSL( 
       System.Drawing.Color c,
       ref System.float hue,
       ref System.float sat,
       ref System.float 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