Skip to main content

Color

info
  • This class is only available on LocalScripts

Describes a Color.

Instance Properties

Property NameProperty TypeDescription
RfloatThe Red value (0-1)
GfloatThe Green value (0-1)
BfloatThe Blue value (0-1)
AfloatThe Alpha value (0-1)

Constructors

ConstructorDescription
Color()Creates a color of Black with 1 alpha
Color(float r, float g, float b)Creates a color with specified RGB and 1 alpha

Color(float r, float g, float b, float a) Creates a color with specified RGBA