RGBtoHSL(Int32,Int32,Int32) Method

Kaliko Image Library

Kaliko.ImageLibrary
RGBtoHSL(Int32,Int32,Int32) Method





Red value, must be in [0,255].
Green value, must be in [0,255].
Blue value, must be in [0,255].
Converts RGB to HSL.
Syntax
'Declaration
 
Public Overloads Shared Function RGBtoHSL( _
   ByVal red As System.Integer, _
   ByVal green As System.Integer, _
   ByVal blue As System.Integer _
) As HSL
'Usage
 
Dim red As System.Integer
Dim green As System.Integer
Dim blue As System.Integer
Dim value As HSL
 
value = ColorSpaceHelper.RGBtoHSL(red, green, blue)
public static HSL RGBtoHSL( 
   System.int red,
   System.int green,
   System.int blue
)
public function RGBtoHSL( 
    red: System.Integer;
    green: System.Integer;
    blue: System.Integer
): HSL; static; 
public static function RGBtoHSL( 
   red : System.int,
   green : System.int,
   blue : System.int
) : HSL;
public: static HSL RGBtoHSL( 
   System.int red,
   System.int green,
   System.int blue
) 
public:
static HSL RGBtoHSL( 
   System.int red,
   System.int green,
   System.int blue
) 

Parameters

red
Red value, must be in [0,255].
green
Green value, must be in [0,255].
blue
Blue value, must be in [0,255].
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