Represents a 4-component color with red, green, blue and alpha components.
Name | Description |
---|---|
Color4
|
Constructs a new |
Name | Description |
---|---|
a
|
The alpha component. |
b
|
The blue component. |
g
|
The green component. |
r
|
The red component. |
Constructs a new Color4
object.
Name | Type | Description |
---|---|---|
r |
Number |
The value for the red component. |
g |
Number |
The value for the green component. |
b |
Number |
The value for the blue component. |
a |
Number |
The value for the alpha component. |
The alpha component.
The blue component.
The green component.
The red component.