booster / com.didiglobal.booster.kotlinx / RGB

RGB

class RGB

Constructors

<init>

RGB(r: Int = 0, g: Int = 0, b: Int = 0)

Properties

b

val b: Int

g

val g: Int

r

val r: Int

Functions

light

fun light(percentage: Float): RGB

reverse

fun reverse(): RGB

toString

fun toString(): String

Companion Object Functions

valueOf

fun valueOf(rgb: Int): RGB