Support switching between color and legacy modes