Version

HSB Structure Members

The following tables list the members exposed by HSB.

Public Properties
 NameDescription
Public PropertyAlphaGets / sets the Alpha value that will be used when this color is converted to a Color struct.  
Public PropertyBGets / sets the B value for a HSB color. The expected values are between 0 and 100.  
Public PropertyHGets / sets the H value for a HSL color. The expected values are between 0 and 360.  
Public PropertySGets / sets the S value for a HSL color. The expected values are between 0 and 100.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)FromColorInitializes a new instance of the HSL structure.  
Public MethodToColorConverts the HSB to an RGB color.  
See Also