In german we call it »Schnittverzierungen«. There are different kinds of them, the most common one is »Farbschnitt«, where all sides are colored.
Here are some examples:
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityYou could speak of edge painting or fore-edge painting, or gilt-edged for the golden variant.