code: def hls_palette(
      n_colors, first_hue=0.01, lightness=0.5, saturation=0.7
  ):
      """Get a list of colors where the first is black and the rest are evenly spaced in HSL space."""
      hues = np.linspace(0, 1, int(n_colors) + 1)[:-1]
      hues = (hues + first_hue) % 1
      palette = [(0.0, 0.0, 0.0)] + [
          colorsys.hls_to_rgb(h_i, lightness, saturation)
          for h_i in hues
      ]
      return np.round(np.array(palette) * 255).astype(np.uint8)
  
file_path: kubric/kubric/plotting.py
imports: import colorsys
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: hls_palette(n_colors, first_hue, lightness, saturation) and returns: np