Function cmyToCmyk

  • Convert the given CMY color to a CMYK color. Based on the EasyRGB pseudo-code.

    Parameters

    • color: Cmy

      The CMY color.

    Returns Cmyk

    A CMYK color.