How did green, yellow, and red become colors meaning go, caution, and stop?

Made by railroads during WWI, stop lights use Red for danger, Amber suggests caution and green to go.
Updated on Wednesday, February 01 2012 at 08:14PM EST
Collections: rail transportcautionwwiamber