code: def get_color_map_list(num_classes):
      colormap = [
          128,
          64,
          128,
          244,
          35,
          232,
          70,
          70,
          70,
          102,
          102,
          156,
          190,
          153,
          153,
          153,
          153,
          153,
          250,
          170,
          30,
          220,
          220,
          0,
          107,
          142,
          35,
          152,
          251,
          152,
          0,
          130,
          180,
          220,
          20,
          60,
          255,
          0,
          0,
          0,
          0,
          142,
          0,
          0,
          70,
          0,
          60,
          100,
          0,
          80,
          100,
          0,
          0,
          230,
          119,
          11,
          32,
      ] + [0, 0, 0] * (256 - num_classes)
  
      return colormap
  
file_path: PaddleSeg/contrib/DomainAdaptation/utils/utils.py
imports: import paddle
  import os
  import cv2
  import imageio
  import numpy
  from paddleseg.utils import logger
  import PIL
label_desc: Use image node_id 3 for calling a global function with example usage: get_color_map_list(num_classes) and returns: colormap