average colors of flags

I replaced some flags with their average color. I downloaded the flags from Wikimedia Commons and created the versions with average colors with this Python script (warning: overwrites files without asking for confirmation).

country original flag average color
Azerbaijan
Brazil
Canada
Denmark
Estonia
Finland
France
Germany
Iceland
Italy
Latvia
Lithuania
Norway
Russia
Seychelles
South Africa
Spain
Swaziland
Sweden
Ukraine
United Kingdom
USA