Inserts the specified color at the specified location in the receiver.
- macOS 10.0+
The color to add to the color list.
The key with which to associate the color.
The location in the color list at which to place the specified color. Locations are numbered starting with 0.
If the list already contains a color with the same key at a different location, it’s removed from the old location. This method posts
did to the default notification center. It raises
NSColor if the color list isn’t editable.