color
r
Type
float
g
Type
float
b
Type
float
a
Type
float
new
Type
function
Description
Creates a new color class. You can either send a RGBA hex value or individual RGBA bytes.
Parameters
number
rnumber
gnumber
bnumber
a
or
string
hex
Returns
color
Example
Lua | |
---|---|