ComponentOne FinancialChart for WPF
C1.WPF Namespace / ColorEx Class / HSVtoRGB Method



In This Topic
    HSVtoRGB Method
    In This Topic
    r,g,b values are from 0 to 1 h = [0,360], s = [0,1], v = [0,1] if s == 0, then h = -1(undefined)
    Syntax
    'Declaration
     
    
    Public Shared Sub HSVtoRGB( _
       ByRef r As Single, _
       ByRef g As Single, _
       ByRef b As Single, _
       ByVal h As Single, _
       ByVal s As Single, _
       ByVal v As Single _
    ) 
    'Usage
     
    
    Dim r As Single
    Dim g As Single
    Dim b As Single
    Dim h As Single
    Dim s As Single
    Dim v As Single
     
    ColorEx.HSVtoRGB(r, g, b, h, s, v)
    public static void HSVtoRGB( 
       out float r,
       out float g,
       out float b,
       float h,
       float s,
       float v
    )
    public:
    static void HSVtoRGB( 
       [Out] float r,
       [Out] float g,
       [Out] float b,
       float h,
       float s,
       float v
    ) 

    Parameters

    r
    g
    b
    h
    s
    v
    See Also