Is it possible to create color patterns for many objects created from an array?
Or you can use Gradient Texture with an empty to control the center.


Use Texture Coordinate > Object
Put an empty where you want the center, and use it as target for Texture Coordinate
Use Gradient Texture > Spherical and Color Ramp