rgb

forge.drawfunctionSince Forge API 1
Signaturepython
forge.draw.rgb(r: int, g: int, b: int, a: float = 1.0) -> Color

A fixed colour from red, green and blue (0 to 255) and an optional alpha (0 to 1).

Parameters

NameTypeDefault
rint
gint
bint
afloat1.0