Error message: "color components should all belong to [-1,1]"

The thing is, I don’t know which components exactly don’t work (it doesn’t say, and it can’t start the experiment at all). But I guess one of the first color component would be the polygon here:

Later on, we also used $msgColor to direct to code embedded first in the same routine, where color names were used as well:

Do you think, the latter could be the issue? Otherwise, we didn’t use that many colors, actually. And the weird thing about it is that a colleague doesn’t have these issues using the same files…

Thank you very much, I’m grateful for your help!