A polyfill for HTML color inputs with list attribute.
The web standard for color inputs
provides for the list
attribute to refer
to a list of suggested color values.
So far, user interfaces for this feature are
only partly implemented.
For example, Chrome has a way
to interpret present the given list, whereas Firefox does not.
input-color-list aims to fill this gap and provide a simple implementation to let users pick colors from a predefined
palette represented by a standard HTML datalist
.
See also: