colorFromRGBA

Creates a color from given RGBA channels.

Paint
colorFromRGBA
(
ubyte r
,
ubyte g
,
ubyte b
,
ubyte a = 0xff
)

Parameters

r ubyte

The red channel.

g ubyte

The green channel.

b ubyte

The blue channel.

a ubyte

The alpha channel.

Return Value

Type: Paint

The color created.

Meta