In the switch input script, permit setting the default colour.