How to color a plane using different colored squares?


I’m looking to color the planes of my 3d graph different colors based on the x-axis and y-axis and z-axis range. For example, the graph portion within xy-plane range [0, 500] * [0, 500] would be divided into four different colored squares, each one size 250 * 250.

To be clear, I’m referring to the background color. The color of traces, ticks, etc. are irrelevant to my problem. Thanks for any help.