Color

Constructor

color.new(r: integer, g: integer, b: integer, a: integer) -> color
Properties
Description

r

Represents the intensity of the red color channel, ranging from 0 to 255.

g

Represents the intensity of the green color channel, ranging from 0 to 255.

b

Represents the intensity of the blue color channel, ranging from 0 to 255.

a

Represents the transparency of the color, ranging from 0 to 255 (visible).

Last updated