How can I modify the name of the referenced color?

Click on the name of the referenced color. The name becomes editable. Change the name and press enter.