Hi. Great plugin. Could you please show an example with dialog version. I tried to put color picker in window, but I got an javascript error : "Node cannot be inserted at the specified point in the heirarchy". Here is the code:

Color Picker Field Added

I added a color picker field. This required the creation of a color picker item and menu too.

I've attached a my code with Amon's latest. My code resides in the file colorpickerfield.js and it is BSD licensed. The rest belongs to Amon. I did make a minor change or two to colorpicker.js. I also included a test.html.