I propose to introduce a master colors. They can be added to the palette under the name of the master color with the ability to name the color and change the color code in the future. A similar method is used in less css.
This method will avoid using masks with color for recolor elements, which in my opinion is not the most successful solution and causes export problems in some cases.
Thank you for your attention and sorry for the bad english! Have a nice day!