== Description ==
Allows on-the-fly switching of whole sets of color name definitions.
'''NB'''
{{cmd|definepalet}} relies on a non-standard argument parser that does
not tolerate trailing commas [http://www.ntg.nl/pipermail/ntg-context/2012/067602.html].
Therefore the following syntax is illegal:
<texcode>
\definepalet [foo] [
first=red,
second=green, %% <= will fail
]
</texcode>
Use common ConTeXt coding style instead:
<texcode>
\definepalet [foo]
[first=green,
second=red]
</texcode>
Alternatively, replace the comma with a comment character:
<texcode>
\definepalet [foo] [
first=green,
second=red%
]
</texcode>
== Example ==