Hallo,
calling setColor on the jqxColorPicker with a color object that has a red value of 0 (like black) causes an exception. According to the documentation, you can give the method an object with the properties r, g and b. However the method also supports hex-strings. To distinguish between the two, it is checked if the r value of the object evaluates to true. However, this condition fails if the r value is set to 0.
As a result, it thinks the object is a hex-string and calls the substring on it, causing an exception.
Here is a simple example: http://jsfiddle.net/g99La/15/