Why do Slovakia and Slovenia have such similar flags?

Posted by CasualLavaring@reddit | AskBalkans | View on Reddit | 8 comments

Slovakia and Slovenia are obviously very different countries despite both being Slavic. Slovakians are West Slavs, Slovenians are South Slavs. Slovakian and Slovenian are two entirely separate languages which are not mutually intelligible. However, it is bizarre that their flags are so similar, with the colors in the same order and the same shield-shaped coat of arms only differentiated by the different symbol. Why did their flags end up so similar? Is it just coincidence?