Traffic lights are designed to control vehicle and pedestrian movement using a standardized color system. There are three primary colors used in traffic lights: red, yellow, and green, each indicating a specific action for drivers and pedestrians. Red signals stop, yellow warns of an impending change, and green indicates go, ensuring safety and order on the roads.