Gimp.RGB.to_hsv

@accepts(Gimp.RGB, Gimp.HSV)
@returns(none)
def to_hsv(self, hsv):
    # Python wrapper for gimp_rgb_to_hsv()
  

Does a conversion from RGB to HSV (Hue, Saturation, Value) colorspace.

self

A color value in the RGB colorspace

hsv

The value converted to the HSV colorspace