Cool indeed! I had a similar need and created https://github.com/Zalastax/colornamer. Finding a good source of names was the hardest part so you might want to complement your list of colors with those in my list.
Super nice! Had I just known about it earlier...
We made some different choices, but the end result is quite close. It's a shame that the native html color picker is so bad, I wish I could have used it, but FlexiColorPicker is a delight to work with.