Setting button background colors?

Why does this not work? And is there a way to make it work?

The first line of the block works, but the "for each" loop doesn't have any effect.
The "##" are button names.

Thanks.

You have set your button properties to a list, not the button components

You need to use the anyComponent blocks for button to set the background colours