code: def get_hex_color(layer_type):
      
      COLORS = ['#4A88B3', '#98C1DE', '#6CA2C8', '#3173A2', '#17649B',
                '#FFBB60', '#FFDAA9', '#FFC981', '#FCAC41', '#F29416',
                '#C54AAA', '#E698D4', '#D56CBE', '#B72F99', '#B0108D',
                '#75DF54', '#B3F1A0', '#91E875', '#5DD637', '#3FCD12']
  
      hashed = int(hash(layer_type)) % 5
  
      if "conv" in layer_type.lower():
          return COLORS[:5][hashed]
      if layer_type in lasagne.layers.pool.__all__:
          return COLORS[5:10][hashed]
      if layer_type in lasagne.layers.recurrent.__all__:
          return COLORS[10:15][hashed]
      else:
          return COLORS[15:20][hashed]
docs: Determines the hex color for a layer.
      :parameters:
          - layer_type : string
              Class name of the layer
      :returns:
          - color : string containing a hex color for filling block.