Gimp.RGB.prototype.to_hsv

function to_hsv(): Gimp.HSV {
    // Gjs wrapper for gimp_rgb_to_hsv()
}
  

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

Returns

The value converted to the HSV colorspace