The current color, at point interpolation between low and high.
The "high" color, returned when interpolation is 1
The "low" color, returned when interpolation is 0
Creates a copy of this color, with the same values as the current.
Sets the interpolation to a given position from 0.0 to 1.0 between the low and high color and alpha values, in turn determining the color.
Sets both low and high color to the same value.
Sets the high alpha while keeping the existing color values.
Sets the high color
Sets the low alpha while keeping the existing color values.
Sets the low color
Tracks a "low" and "high" color, and interpolates between these endpoints when given a number between 0 and 1. Color is expressed as an array of either
[red, green, blue]
or[red, green, blue, alpha]
, where red, green and blue range from 0 to 255, and alpha range from 0.0 to 1.0.