color variables are now declared locally to avoid name clashes - closing issue #2665