How to integrate jscolor with playcanvas?

If you are adding the input color element using a script, then you need to manually install jscolor on that element.

Check the jscolor docs on this:

https://jscolor.com/docs/#doc-install-include-jscolor

jscolor.install();

Or manually create a JSColor instance:

var myPicker = new JSColor(<targetElement>, <options>)
2 Likes