In India, on some newer signals in last 5-6 years, I have seen that when Red is on, & is going to go to Green, the Red will start blinking in last 5 or so seconds. Then Green will be ON.
When Green is ON, & is going to switch off, it will start blinking & then off, & then yellow will start blinking. Its ok to drive through blinking green or yellow if safe. But common training os drive through blinking Green, but if you see blinking Yellow, then stop.
Plus, some of the lights have counter. It shows how many seconds are remaining for the lit color. An experiment led the Bombay Municipality to install Noise Sensors are one busy traffic light with counter. Every time there is a Red Light, & counter is less than 10, normally people start getting impatient & start honking to force the front ones to move. But on this light, if the noise is above certain decibel while Red, the counter resets.