code: def test_unparse_color():
      """Test color unparse function"""
      assert unparse_color(17, 34, 51, 1.0, "#rgb") == "#123"
      assert unparse_color(204, 221, 255, 1.0, "#rgb") == "#cdf"
      assert unparse_color(170, 51, 221, 119 / 255, "#rgba") == "#a3d7"
      assert unparse_color(88, 75, 79, 1.0, "#rrggbb") == "#584b4f"
      assert unparse_color(140, 190, 34, 1.0, "#rrggbb") == "#8cbe22"
      assert (
          unparse_color(22, 203, 240, 1 / 3, "#rrggbbaa") == "#16cbf055"
      )
      assert (
          unparse_color(134, 67, 216, 1.0, "rgb") == "rgb(134, 67, 216)"
      )
      assert (
          unparse_color(0, 111, 222, 1.0, "rgb") == "rgb(0, 111, 222)"
      )
      assert (
          unparse_color(237, 83, 48, 0.8, "rgba")
          == "rgba(237, 83, 48, 0.8)"
      )
      assert (
          unparse_color(0, 1, 0, 0.1223, "rgba")
          == "rgba(0, 1, 0, 0.1223)"
      )
  
imports: from __future__ import division
  from pygal.colors import darken, desaturate, hsl_to_rgb, lighten, parse_color, rgb_to_hsl, rotate, saturate, unparse_color
label_desc: Use image node_id 2 for calling a global function with example usage: test_unparse_color() without return types