Color
info
- This class is only available on LocalScripts
Describes a Color.
Instance Properties
Property Name | Property Type | Description |
---|---|---|
R | float | The Red value (0-1) |
G | float | The Green value (0-1) |
B | float | The Blue value (0-1) |
A | float | The Alpha value (0-1) |
Constructors
Constructor | Description |
---|---|
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