I want to use the blend effect SimpleMask.fx to change the color of a sprite during a game (player is hit --> white color mask on player --> color mask effect then gradually fades).
To do that I need to manage during runtime the parameter effect "fC", which controls the color of the mask. But GetRGB(255, 255, 255) doesn't work... I don't know which is the syntax it requires.
How can I do that?