First impressions

In my apps I just end up creating a wrapper for those functions. I call

app.setFillColor(obj, ‘green’) or whatever other color name as string. And I define a special table that holds all those names as tables of color components. Like colors[‘green’] = {0, 255, 0}

It would make sense for setColor functions to accept tables as well.

As a temporary measure you could just add in a helper function that you pass your old values to and it returns a new table with the same values but the RGB ones divided by 255.

As a temporary measure you could just add in a helper function that you pass your old values to and it returns a new table with the same values but the RGB ones divided by 255.