code: def get_color(idx):
      idx = idx * 3
      color = ((37 * idx) % 255, (17 * idx) % 255, (29 * idx) % 255)
      return color
  
imports: import cv2
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_color(idx) and returns: color