UI module

rgb

procedure · 1 overloadsince 0.31.0Source

A colour from 0 to 255 channels.

rgb :: (r: int, g: int, b: int, a: int = 255) -> Color

A colour from 0 to 255 channels.

Parameters

r: int
red, 0 to 255.
g: int
green, 0 to 255.
b: int
blue, 0 to 255.
a: int
alpha, 0 (clear) to 255 (opaque).

Returns

See also