Color in states (or somewhere else)

Hi, I was wondering if there’s a place where I could use ‘dynamic colors’ e.g. if true Color1 else Color 2.
And I don’t mean a JS node.

Currently I can’t seem to use a color node with a states node or a string node or any other node for that matter to have color choice options.
I just can’t connect the nodes together (selections are greyed out). I’d assume the color code could be a string value that then gets processed under the hood.

Thanks!

answering my own question.

Blend color node and a state with 1-0 values for color with a linear 0ms transition if an instant switch is required :wink: