Sending a Color to a function (C#) ?

I’m just wondering how to send a Color to a function that request one…

I tried new Color(0,0,0,1) - but there is an error :
No overload for method StartFade' takes 1’ arguments

I’m not sure when to use the ‘as’ operator , but I tried it here - and didn’t work.

Thank you for any replies!

The error message doesn’t have anything to do with your question…it’s saying that the function doesn’t take one argument, but you’re only giving it one. Apparently it needs more.