HsvColor
Base Type: Color
A class for a color in the HSV (Hue, Saturation, Value) color system.
Property |
Type |
Description |
---|---|---|
Hue |
short |
The hue component of an HSV color. |
Saturation |
byte |
The saturation component of an HSV color. |
Value |
byte |
The value component of an HSV color. |
Remarks
Colors are defined by three read-write properties: Hue, Saturation, and Value. The Hue property may be set to a number between 0 and 360, indicating in degrees where the hue lies on the color wheel. The Saturation property is a number between 0 and 100 indicating the saturation, or purity, of the color, and the Value property is a number between 0 and 100 indicating the value, or brightness, of a color. All of the properties have a default value of 0; therefore, the default HSV color is black.
Use this class to create color objects that are defined by the Hue, Saturation, and Value color model.