code: def _kml_default_colors(x):
      
      x = max([x, 0])
      colors_arr = [simplekml.Color.red, simplekml.Color.green, simplekml.Color.blue,
                    simplekml.Color.violet, simplekml.Color.yellow, simplekml.Color.orange,
                    simplekml.Color.burlywood, simplekml.Color.azure, simplekml.Color.lightblue,
                    simplekml.Color.lawngreen, simplekml.Color.indianred, simplekml.Color.hotpink]
      return colors_arr[x]
docs: flight mode to color conversion