Speckled pages on dictionaries and such

Why do some dictionaries and other reference works have red or blue speckles on the sides of their sheets? It seems something which could only have been added after the paper was cut, and it’s certainly out of place given the color, so who decided to go to that trouble?

It’s purely for decoration: