Grey countries have there own native language countries that are grouped up are countries that either speak the same language or they're languages are mutually intelligible.
Error of margin is 0-20% but it's still pretty accurate considering a lot of African countries don't speak their "official language" and a lot of languages are mutually intelligible.