Select Color From A Preset Palette – LA Color Picker
AUTHOR: | LucasAndrad |
---|---|
VIEWS TOTAL: | 2,734 views |
OFFICIAL PAGE: | Go to website |
LAST UPDATE: | May 31, 2019 |
LICENSE: | MIT |
Preview:
Description:
A minimal clean color picker where the user is able to select a color from a preset palette.
How to use it:
Insert the JavaScript la_color_picker.js
and Stylesheet la_color_picker.css
into the document.
<link rel="stylesheet" href="la_color_picker.css"> <script src="la_color_picker.js"></script>
Create an input field for the color picker.
<input type="text" class="inp" id="colorPicker">
Create an element for the palette. That’s it.
<div class="palette" id="colorPalette"></div>