Class kh.color.HSV
Defined in: kh-color.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
kh.color.HSV(h, s, v)
h in [0, 360], s and v in [0, 100]
|
| Field Attributes | Field Name and Description |
|---|---|
|
the hue of the color in [0, 360]
|
|
|
the saturation of the color in [0, 100]
|
|
|
the value of the color in [0, 100]
|
| Method Attributes | Method Name and Description |
|---|---|
|
toHSL()
HSL conversion
|
|
|
toRGB()
RGB conversion
|
|
|
toString()
String conversion
|
Field Detail
h
the hue of the color in [0, 360]
s
the saturation of the color in [0, 100]
v
the value of the color in [0, 100]
Method Detail
{HSL}
toHSL()
HSL conversion
- Returns:
- {HSL} object
{RGB}
toRGB()
RGB conversion
- Returns:
- {RGB} object
{String}
toString()
String conversion
- Returns:
- {String}