Quoted By:
Here's the pic with a color system indicating the generation btw (background color = generation, color strip on the left means the pokémon comes from a line of another generation and color strip on the right means the pokémon gains its form on a new generation, eg: Mega-Gallade is blue because Sinnoh's gen with a green strip on the left because comes from a line introduced in Hoenn's gen and a white one on the right because gained the form in Kalos' gen)
The colors are based on the National Dex of Pokémon Bank (except Galar of course, I just picked a random color for that one)