docstr: Create ColorPalette from list of color hex values or color names.
  
  Args:
      colors (list of str): List of color hex values or names.
      palette_type (str, optional): Type of palette:
          'sequential', 'diverging', 'categorical'
      name (str, optional): Name of color palette.
code: def from_hex_list(cls, colors, palette_type=None, name=None):
      """Create ColorPalette from list of color hex values or color names.
  
      Args:
          colors (list of str): List of color hex values or names.
          palette_type (str, optional): Type of palette:
              'sequential', 'diverging', 'categorical'
          name (str, optional): Name of color palette.
  
      """
      hex_list = [Color(color) for color in colors]
      return cls(hex_list, palette_type, name)
  
imports: from collections import OrderedDict
  from bokeh import palettes
  from IPython.core.display import HTML
  import yaml
  from chartify._core.options import options
  from chartify._core import colour
label_desc: Use image node_id 4 for calling the ColorPalette obj's underlying member method code with example usage: obj.from_hex_list(cls, colors, palette_type, name) and returns: cls