kotlin-homie / org.homieiot.colors / RGB / <init>

<init>

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

Constructor
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)

Create a color model based on red, green and blue values

Constructor
Create a color model based on red, green and blue values