code: def negative(mode="RGB"):
      palette = list(range(256))
      palette.reverse()
      return ImagePalette(mode, palette * len(mode))
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImagePalette.py
imports: import array
  from .None import GimpGradientFile, GimpPaletteFile, ImageColor, PaletteFile
label_desc: Use image node_id 4 for calling a global function with example usage: negative(mode) and returns: ImagePalette