I found numerous references in government sites (CA and VA, for instance) mandating red for gasoline, yellow for diesel and blue for kerosene. Can't find the federal standard but you can bet your bippy it's there someplace.
Reason? To make it very clear what's in the container of course. All you have to worry about is the guy who puts gasoline in the kerosene container or diesel in the gasoline containter<g>