Milk colour coding

In Denmark, skimmed milk packaging is grey, semi-skimmed is light blue, full-fat is dark blue, and whipping cream is red. In the UK, skimmed milk is red, semi-skimmed is green, full-fat is dark blue, single cream is red, and whipping cream is green.

I’ve forgotten the colour coding schemes used in other countries, but I’m sure they’re different, too.

When were the colour schemes invented? Were they regional at first, and then harmonised on a national level?