-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Restricting Color Well Selection
By default the “well” that appears offers the user the entire color gamut to choose from. With the same principle as the range input, the user’s choices can be directed to just a few colors by using a with appropriate values:
<input type="color" value="#333333" list="colors">
<datalist id=colors>
<option>#ffffff</option>
<option>#ff0000</option>
<option>#ff7700</option>
</datalist>Reactions are currently unavailable