Extracted method to generate isobar colors.
Extracted logic to generate color map.