Yes the railways did change with time. With signalling it was the practice at night to use a red light for danger, but early railways often used white to progress. Green was for caution.
In our modern world the Power Signal Boxes have been replaced by the signalling centres. For Birmingham it is at Saltley, such is the use of the digital world, our colour light signal are slowly being replaced by the LED type, but there are some places not far away from here where the semaphore signal is still in use.