One strange thing I noticed: assigning a value to this component changes the look of the sample, but not the hex display. In other words, if we write
viewof color.value = "#ff0000";
Then, the sample rectangle changes to red, but the hex code remains #4682b4