code: def setUp(self):
      columns = [
          "r",
          "g",
          "b",
          "h",
          "v",
          "l",
          "s_hsv",
          "s_hsl",
          "alpha",
      ]
      # Examples taken from http://en.wikipedia.org/wiki/HSL_and_HSV
      values = [
          (1, 1, 1, 0, 1, 1, 0, 0, 1),
          (0.5, 0.5, 0.5, 0, 0.5, 0.5, 0, 0, 0.5),
          (0, 0, 0, 0, 0, 0, 0, 0, 1),
          (1, 0, 0, 0, 1, 0.5, 1, 1, 0.5),
          (0.75, 0.75, 0, 60, 0.75, 0.375, 1, 1, 0.25),
          (0, 0.5, 0, 120, 0.5, 0.25, 1, 1, 0.75),
          (0.5, 1, 1, 180, 1, 0.75, 0.5, 1, 1),
          (0.5, 0.5, 1, 240, 1, 0.75, 0.5, 1, 1),
          (0.75, 0.25, 0.75, 300, 0.75, 0.5, 0.666666667, 0.5, 0.25),
          (0.211, 0.149, 0.597, 248.3, 0.597, 0.373, 0.750, 0.601, 1),
          (
              0.495,
              0.493,
              0.721,
              240.5,
              0.721,
              0.607,
              0.316,
              0.290,
              0.75,
          ),
      ]
      self.data = [dict(list(zip(columns, value))) for value in values]
      for row in self.data:
          row["h"] /= 360.0
  
imports: import unittest
  from igraph import hsv_to_rgb, hsva_to_rgba, hsl_to_rgb, hsla_to_rgba, rgb_to_hsl, rgba_to_hsla, rgba_to_hsva, rgb_to_hsv, GradientPalette, AdvancedGradientPalette
label_desc: Use image node_id 2 for calling the ColorTests obj's underlying member method code with example usage: obj.setUp() without return types