Animation Node (Vertex color) and Cycles Node (Gradient)
You are using the local texture coordinates to color the objects, thus the colors are local and identical for all arrows. What you want to do is color the objects solely based on their locations. In Cycles, the Object Info node can be employed as follows:



Where the value controls the radius of the gradient.