🌈Color

Built-in Color library.

Properties:

Name
Type
Description

r

integer

Red Color

g

integer

Green Color

b

integer

Blue Color

a

integer

Alpha

Static Functions:

Color

Color(r: integer, g: integer, b: integer, a: integer): Color

Argument
Type
Description

r

integer

Red (0 - 255)

g

integer

Green (0 - 255)

b

integer

Blue (0 - 255)

a

integer (optional)

Alpha (0 - 255)

Creates a new Color object.

Last updated