Represents a RGBA color (Red, Green, Blue, Alpha)
Creates a Color with given red, green, blue and (optional) alpha values.
Parameters can be between 0.0 and 1.0 or between 0 and 255.
local red = Color(255, 0, 0) local alsoRed = Color(1.0, 0.0, 0.0) local semiTransparentRed = Color(1.0, 0.0, 0.0, 0.5)
Sets this Color to the linear interpolation between two given Color at a given ratio.
Sets this Color's components to the given values.