I may have overlooked something, but I’ve checked the documentation for newText:setTextColor.
Am I right in assuming that the only way to store a color in 1 variable as opposed to 3, and passing it as one parameter as opposed to 3, is to create a gradient?
I’m also a bit weak on how these “interpreted parameters depending on their count and value” overloaded(?) variants of setTextColor work. Is it really a lua feature, since variables arent type’d in lua? Or does the setTextColor method interpret the parameters passed explicitly inside the one method and switch to different code behaviors ?
I was also wondering if a generic RGBA color object has been considered for use with other graphics objects at one point?