modified the color code for region