The color of a warning light is the fastest way to know how worried to be.
Red means stop soon. Oil pressure, engine temperature and the brake warning are red because driving on can do real damage or put you at risk.
Amber or yellow means get it looked at. The check-engine light, tire pressure and traction lights are telling you something is off, not that the car is about to quit.
Green and blue are just information: headlights on, high beams, cruise control set.
One exception: a flashing amber check-engine light is serious. It means a misfire, and that can ruin an expensive part in a short drive.