Original: While some use of the color of the day system include; recognition so a uniformed officer will not "hassle" a transient person who is actually a police officer acting as a victim decoy.
Simplified: The system is also used so that a uniformed officer will not disturb a person who is really an undercover police officer who is acting as a homeless person so that criminals will rob him.