I looked at the code there and I would suggest changing the return statement to:
return redColor, greenColor, blueColor
then you can:
local convertcolor = require( "convertcolor" ) local red, green, blue = convertcolor.hex("ab072f")
The variables red, green and blue would hold the value between 0…1 for the three different color channels. You can apply this directly to things like :setFillColor:
myObject:setFillColor( convertcolor.hex( "ab072f" ) )
And for things like widgets where the colors are in a table:
local button = widget.newButton({ label = "Hello World", labelColor = { default = { convertcolor.hex("a0b342") }, over = { convertcolor.hex("ffeedd") } } })