Color
Color is a class that describes the values used to make up colors for screens and lights.
Global Methods
Color( r number, g number, b number ) color
Compose and returns a RGB Color object. Values for the 3 channels are always expressed in the range 0-255.
ColorRGBA( r number, g number, b number, a number ) color
Compose and returns a RGB Color object, with Alpha. Values for the 4 channels are always expressed in the range 0-255. Alpha 0 is transparent
ColorHSV( h number, s number, v number ) color
Compose and returns a RGB Color Object, expressing it in HSV values.
Hue [0-360]
Saturation [0-100]
Value [0-100]
Built-in colors
color.black
color.blue
color.clear
color.cyan
color.gray
color.green
color.magenta
color.red
color.white
color.yellow