Set new material color

Hello,
I would like to change the rbg value of one material (herited from a xml file). I tried with “Parameter.SetValue” but it seems have no effect. As you can see in my dynamo tree, i have also tried with “Element.OverrideColorInView” but it’s only overriding the viewport color. i need to change the “material” rgb vlue .
.


Regards,