I had to try this out myself, and indeed, this works with EP1 but not
with EP2. Clearly, although not yet documented (the EP2
documentation lags behind the product), in EP2 "color" is now a
restricted keyword. If you want to test this further yourself, just
put any other known keyword (e.g., "string") in place of "color", and
you will get practically the same error.
The solution is simply to change the name of your variable from "color".
--David McFarlane, Professional Faultfinder