Inconsistence on making the custom attribute working

Hi there,
very quick question.
I have some custom components where I am using a custom attribute to render the nodes in a different color, but I have some of them that are not changing.
The custom attribute is implemented exactly like the others so I don’t know what makes the difference.
Thanks!
image

This happens also with GH_Param.
I have my custom Param, but I can’t assign to it the color of the other components.
Any suggestions?