Ball Valves, Check Valves, and Globe Valves

Ball Valves, Check Valves and Globe Valves
In the video, you can see Ball Valves, Check Valves, and Globe Valves. Why are the end flanges of these valves painted in different colors? Any guesses?