GroupDocsGists
10/19/2017 - 11:35 AM

CreateColorant.cs

//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// create RGB colorant with R, G, B components
ColorantRGB rgbColorant = new ColorantRGB(254, 254, 1);

// create CMYK colorant with Black, Cyan, Magenta, Yellow components
ColorantCMYK cmykColorant = new ColorantCMYK(10, 10, 1, 50);