I have a text control and I'm using a Switch function on the Color property based on the text value:
Switch(Self.Text.Value, "RED", RGBA(204, 51, 51, 1), "GRAY", RGBA(179, 179, 179, 1), "")
However it returns an error, see below:

Is there a limitation on referencing "Self" in the Switch (or any other) function?