Lua - Color Space Conversion