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