Update color conversion loop to be more robust