Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 914 Bytes

readme.md

File metadata and controls

33 lines (21 loc) · 914 Bytes

npm version QC Checks

@lesjoursfr/colorpicker

Modular color picker

Requirements

To work this library needs :

How to use

import { Colorpicker } from "@lesjoursfr/colorpicker";

/* Initialize the Colorpicker */
new Colorpicker(document.querySelector("#colorpicker"), {
	color: "#C83E2C",
	useAlpha: true,
});

License

The MIT License (MIT). Please see the License File for more information.

Credits

Based on Javi Aguilar's color picker (2021).