// es5 importimportColorPalettePickerfrom'color-palette-picker';// or by script<scriptsrc="path/to/color-palette-picker.js"></script>
// instantiationconstinstance=newColorPalettePicker(options);// create panel element and bar element of paletteconstpanel=instance.create('panel');constbar=instance.create('bar');// append element to bodydocument.body.appendChild(panel);document.body.appendChild(bar);