See Also Examples Applies To
Converts RBG color from a set of red, green, and blue color components to CMYK color into a set of Cyan, Magenta, Yellow and Black (Key) components.
Syntax
object.ColorRGBtoCMYK (nRedValue, nGreenValue, nBlueValue, *nCyanReturn, *nMagentaReturn, *nYellowReturn, *nBlackReturn)
The ColorRGBtoCMYK syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nRedValue | Required. Long. Input red component value [0 - 255]. |
| nGreenValue | Required. Long. Input green component value [0 - 255]. |
| nBlueValue | Required. Long. Input blue component value [0 - 255]. |
| *nCyanReturn | Required. Output Long. Cyan component value [0 - 255]. |
| *nMagentaReturn | Required. Output Long. Magenta component value [0 - 255]. |
| *nYellowReturn | Required. Output Long. Yellow component value [0 - 255]. |
| *nBlackReturn | Required. Output Long. Black component (Key) value [0 - 255]. |
Category
Color System Convertions