Function to convert region to hex
gitignore some things