Initializes a new instance of the C1HslColor struct.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public C1HslColor(
	byte a,
	float h,
	float s,
	float l
)
Visual Basic
Public Sub New ( _
	a As Byte, _
	h As Single, _
	s As Single, _
	l As Single _
)

Parameters

a
Type: System..::..Byte
Alpha channel.
h
Type: System..::..Single
Hue is a value between 0 and 1.
s
Type: System..::..Single
Saturation is a value between 0 and 1.
l
Type: System..::..Single
Luminance is a value between 0 and 1.

See Also