Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
And as ichiDad already mentioned, 5km eggs have brown/orange spots. 2km eggs retain the original coloring.
I'd like to assume this is a basic cosmetic change for players who don't enjoy checking their bags every time they spin an egg out of a PokéStop. Now you'll know what type of egg it is right out the gate.