First eight candycane colors are set within the inspector.
About the other colors, the Reference tells :
"...the next fifteen colors are taken from the Max application's color palette."
So the question is: how does one access the Max application color palette in Max 5?
Isn't this explanation an erroneous survival from Max 4?