Modular color picker
To work this library needs :
- @popperjs/core 2.x
import { Colorpicker } from "@lesjoursfr/colorpicker";
/* Initialize the Colorpicker */
new Colorpicker(document.querySelector("#colorpicker"), {
color: "#C83E2C",
useAlpha: true,
});
The MIT License (MIT). Please see the License File for more information.
Based on Javi Aguilar's color picker (2021).