I am using BPMN js version 3.0.4 but it will give following error
core.js:1673 ERROR TypeError: Object prototype may only be an Object or null: undefined
at create (<anonymous>)
at Function.Object.create (zone.js:2425)
at inherits (inherits_browser.js:5)
at Object../node_modules/bpmn-js-in-color/colors/ColorRenderer.js (ColorRenderer.js:52)
at __webpack_require__ (bootstrap:81)
at Object../node_modules/bpmn-js-in-color/colors/index.js (index.js:9)
at __webpack_require__ (bootstrap:81)
at Object../node_modules/bpmn-js-in-color/index.js (index.js:1)
at __webpack_require__ (bootstrap:81)
at SafeSubscriber._next
we will need further information to help you. Did you start to write your own Camunda Modeler plugin? Or do you use one of our examples (cf. Color Picker Example)?
I have also successfully used the Modeling#setColor method.
But I have discovered a strange behavior, when I change the color of an element, the size of the corresponding label is changed. This resizing is then stored in the BPMN file, which is in my opinion not a clean behavior…