Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / ColorConverter Class / RGBtoHSV Method
A double representing the red channel.
A double representing the green channel.
A double representing the blue channel.
A double representing the color's hue.
A double representing the color's saturation.
A double representing the color's value.


In This Topic
    RGBtoHSV Method
    In This Topic
    Syntax
    'Declaration
     
    Public Shared Sub RGBtoHSV( _
       ByVal r As Double, _
       ByVal g As Double, _
       ByVal b As Double, _
       ByRef h As Double, _
       ByRef s As Double, _
       ByRef v As Double _
    ) 
    'Usage
     
    Dim r As Double
    Dim g As Double
    Dim b As Double
    Dim h As Double
    Dim s As Double
    Dim v As Double
     
    ColorConverter.RGBtoHSV(r, g, b, h, s, v)
    public static void RGBtoHSV( 
       double r,
       double g,
       double b,
       out double h,
       out double s,
       out double v
    )

    Parameters

    r
    A double representing the red channel.
    g
    A double representing the green channel.
    b
    A double representing the blue channel.
    h
    A double representing the color's hue.
    s
    A double representing the color's saturation.
    v
    A double representing the color's value.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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