# Gimp.RGB.prototype.to_cmyk

    function to_cmyk(pullout: Number(gdouble)): Gimp.CMYK {
        // Gjs wrapper for gimp_rgb_to_cmyk()
    }

Does a naive conversion from RGB to CMYK colorspace. A simple formula that doesn't take any color-profiles into account is used. The amount of black pullout how can be controlled via the pullout parameter. A pullout value of 0 makes this a conversion to CMY. A value of 1 causes the maximum amount of black to be pulled out.

pullout

  A scaling value (0-1) indicating how much black should be pulled out

Returns

  The input value naively converted to the CMYK colorspace