New color conversion lua functions