rgba

fun rgba(r: Double, g: Double, b: Double, a: Double): ColorRGBa

Create a color in RGBa space This function is a short-hand for using the ColorRGBa constructor

Parameters

r

red in [0,1]

g

green in [0,1]

b

blue in [0,1]

a

alpha in [0,1]