rgba

open fun rgba(r: Int, g: Int, b: Int, a: Int): UiColor(source)

A colour with alpha: red, green, blue and alpha, each 0..255.

Since

api 6

Throws

if a component is outside 0..255