color picker and color palette javascript code example Example: color selector html <input type="color" value="#f6f82" id="colorPicker">