code: def color_get_hsv(c: Tuple[int, int, int]) -> Tuple[float, float, float]:
      
      hsv = ffi.new("float [3]")
      lib.TCOD_color_get_HSV(c, hsv, hsv + 1, hsv + 2)
      return hsv[0], hsv[1], hsv[2]
docs: Return the (hue, saturation, value) of a color.
  
      Args:
          c (Union[Tuple[int, int, int], Sequence[int]]):
              An (r, g, b) sequence or Color instance.
  
      Returns:
          Tuple[float, float, float]:
              A tuple with (hue, saturation, value) values, from 0 to 1.