I would like to only allow a specific list of colors. If I modify the items this has no effect at run time. Could you please tell me how to achieve this and also to hide/disable the More Color's button.
The colors are initialized at runtime as well, so to change the default set of colors you need to write your own code. To hide the more button you additionally need to set Mode to csmExtended.