Reuse state symbols in color definitions.
Fix magic number.