Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight 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 _
    )
    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