sprintf(“2x”, string.gsub(/[^a-f0-9]/, ”).hex + 1).gsub(/([a-f0-9]{2})/, ‘1:’)… Read More: http://is.gd/C6lQ