Creates a CMYKColor using the values from the supplied array.
The color components have values between 0 and 1.
Sample code:
var components = [1, 1, 0, 0.5];
var color = new CMYKColor(components);
print(color); // { cyan: 1.0, magenta: 1.0, yellow: 0.0, black: 0.5 }
Parameters:- components: Array of Number