API Documentation > CorelDRAW > 2025-v26 > Color > IVGColor
Color.ConvertToCMYK method
Converts the color model to CMYK
Syntax:
Sub ConvertToCMYK()
Remarks:
The ConvertToCMYK method converts the active color model to the CMYK color model in CorelDRAW. A color is an effect applied to an object that alters the object's appearance by the way it reflects light. A color model is a system that defines the number and type of colors that make up an image and that is used to organize and define colors according to a set of basic properties that can be reproduced. Black-and-white, grayscale, RGB, CMYK, and paletted are examples of popular color modes. CMYK is a color mode made up of cyan (C), magenta (M), yellow (Y), and black (K). In the CMYK color mode, color values are expressed as percentages, so a value of 100 for an ink means that it is applied at full saturation. Used in most full-color commercial printing, CMYK is like CMY, but the addition of black (K) allows for true blacks and a wider tonal range. The CMYK color mode is based on the CMYK color model.
Examples:
The following VBA example converts all uniform fill colors in the selected shapes to the CMYK color model.
Sub Test()
Dim s As Shape
For Each s In ActiveSelection.Shapes
  If s.Fill.Type = cdrUniformFill Then

 s.Fill.UniformColor.ConvertToCMYK
  End If
Next s 
End Sub