ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1HslColor Structure / C1HslColor Constructor / C1HslColor Constructor(Single,Single,Single)
Hue is a value between 0 and 1.
Saturation is a value between 0 and 1.
Luminance is a value between 0 and 1.



In This Topic
    C1HslColor Constructor(Single,Single,Single)
    In This Topic
    Initializes a new instance of the C1HslColor struct.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal h As Single, _
       ByVal s As Single, _
       ByVal l As Single _
    )
    'Usage
     
    
    Dim h As Single
    Dim s As Single
    Dim l As Single
     
    Dim instance As New C1HslColor(h, s, l)
    public C1HslColor( 
       float h,
       float s,
       float l
    )
    public:
    C1HslColor( 
       float h,
       float s,
       float l
    )

    Parameters

    h
    Hue is a value between 0 and 1.
    s
    Saturation is a value between 0 and 1.
    l
    Luminance is a value between 0 and 1.
    See Also