Pages

Fill shapes and text boxes with color or an image in Pages on Mac
You can fill shapes and text boxes with a solid color, gradient (two or more colors that blend into one another), or image.

If you want to use the same formatting for other objects, you can create your own style to use again.
Tip: You can also change the color of lines, shadows, borders, text, and more; whenever you see a color well in the sidebar, you can click it to add color to whatever is selected on the page.