Question

The function colorPicker.CP.cmyc from JavaScript ColorPicker 0.9 (http://www.dematte.at/colorPicker/) always produces following error:

TypeError: Cannot read property 'cmyc' of undefined
Was it helpful?

Solution

The documentation is simply wrong. The right function name is:

colorPicker.CP.cmyk

The difference is the last char. The documentations says c but the right char is a k.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top