SyntaxFix
Write A Post
Hire A Developer
Questions
Try this
var color : Color = (Color as any)["Green];
That works fine for 3.5.3 version