Added iup color to rgb hex conversion function