Skip to main content

Color3

Description:

  A color with red, green and blue channels.

Class Object: Color3 Class.

r

Type: Field.

Description:

  The red channel of the color, should be 0 to 255.

Signature:

r: integer

g

Type: Field.

Description:

  The green channel of the color, should be 0 to 255.

Signature:

g: integer

b

Type: Field.

Description:

  The blue channel of the color, should be 0 to 255.

Signature:

b: integer

toRGB

Type: Function.

Description:

  Converts the color to an RGB integer value.

Signature:

toRGB: function(self: Color3): integer

Returns:

Return TypeDescription
integerConverted RGB integer.