Search code examples
color-pickercmyk

Problems with function colorPicker.CP.cmyc


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

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.