I think you may need to consider clusters.
A boolean can only be on or off, so there is no way to handle multiple colors. Now with handling events, you could read the value of your numeric array and adjust the colors of the boolean, however, these colors would apply for all of the booleans and not individual ones.
If you can work with clusters, then you should be able to get a reference to each boolean in the cluster and set the color accordingly.