data class HSV
A color model represented as three values: hue, saturation, and value
HSV(triple: Triple<Int, Int, Int>)
Create a color model using a triple, the first value is hue, the second is saturation and the third is value HSV(hue: Int, saturation: Int, value: Int)
Create a color model based on hue, saturation and value |
val hue: Int
The attribute of a visual sensation according to which an area appears to be similar to one of the perceived colors: red, yellow, green, and blue, or to a combination of two of them. Valid values are between 0 and 360. |
|
val saturation: Int
The colorfulness of a stimulus relative to its own brightness. Valid values are between 0 and 100. |
|
val value: Int
The brightness relative to the brightness of a similarly illuminated white. Valid values are between0 and 100. |