well the title is kinda self explanatory lol
Set the modulate property on the Particles2D using a script, like you'd do with any node extending Node2D or Control.
modulate