ColorRGBa

constructor(r: Double, g: Double, b: Double, alpha: Double = 1.0, linearity: Linearity = Linearity.LINEAR)(source)

Parameters

r

red as a percentage between 0.0 and 1.0

g

green as a percentage between 0.0 and 1.0

b

blue as a percentage between 0.0 and 1.0

alpha

alpha as a percentage between 0.0 and 1.0