The g-color-name
allows managing the name of a color. By default, it will use a value from a broad list, based on the hue. The intent is to use categorizations like "Red" or "Purple" and not ultra-specific values like "Snowy Mist". The user can edit the value and, in this case, the user's value will remain and changes to the swatch will not affect the input.
Basic functionality
See the Pen Color Name by Dave Copeland (@davetron5000) on CodePen.