data class RGB
An additive color model in which red, green and blue light are added together in various ways to reproduce a broad array of colors.
RGB(triple: Triple<Int, Int, Int>)
Create a color model using a triple, the first value is red, the second is green and the third is blue RGB(red: Int, green: Int, blue: Int)
|
val blue: Int
The amount of blue in the color model. Valid values are from 0 to 255. |
|
val green: Int
The amount of green in the color model. Valid values are from 0 to 255. |
|
val red: Int
The amount of red in the color model. Valid values are from 0 to 255. |