code: def shift_hue(image, hue):
      
      hue = (hue - 1.0) * 180
      img = image.copy().convert("HSV")
      pixels = img.load()
      for i in range(img.width):
          for j in range(img.height):
              h, s, v = pixels[i, j]
              h = abs(int(h + hue))
              if h > 255:
                  h -= 255
              pixels[i, j] = (h, s, v)
      return img.convert("RGBA")
docs: Shifts the hue of an image in HSV format.
      :param image: PIL Image to perform operation on
      :param hue: value between 0 and 2.0