code: def colorscale_to_colors(colorscale):
      """
      Extracts the colors from colorscale as a list
      """
      color_list = []
      for item in colorscale:
          color_list.append(item[1])
      return color_list
  
imports: import decimal
  from numbers import Number
  from _plotly_utils import exceptions
  from .None import qualitative, sequential, diverging, cyclical, cmocean, colorbrewer, carto, plotlyjs
label_desc: Use image node_id 16 for calling a global function with example usage: colorscale_to_colors(colorscale) and returns: color_list