OverviewOfficial Website
Colorpickr: Flat, simple, multi-themed, responsive and hackable Color-Picker library.
CSS
<!-- Colorpickr css -->
<link rel="stylesheet" href="wwwrootassets/libs/spectrum-colorpicker2/dist/spectrum.min.css"/>
Javascript
<!-- Colorpickr js --!>
<script src="assets/libs/@simonwep/pickr/pickr.min.js"></script>
Initjs (Custom js)
<!-- color pickr init js -->
<script src="wwwrootassets/libs/spectrum-colorpicker2/dist/spectrum.min.js"></script>
Add Package
yarn add spectrum-colorpicker2 --save
Remove Package
yarn remove spectrum-colorpicker2 or you can remove package by removing specific package from package.json
Colorpickr Examples:
Title | Javascript |
---|---|
Simple input field |
|
Show Alpha |
|
Show Palette Only |
|
Toggle Palette Only |
|
Show Initial |
|
Show Input And Initial |
|