HexToRGBA
From Onset Developer Wiki
Description
Converts Hex color value into RGB format
Syntax
HexToRGBA(HexColor)
Parameters
- HexColor
Color in Hex format
Return Value
- R, G, B, A values between 0 and 255
Example
function convertColor(hex)
return r, g, b, a = HexToRGBA(hex)
end