Node to create colors?


hello, is there a node out there to create colors by parameters? I just want a simple watch node with a single color in it that changes color based on a parameter I give it. Like if the parameter is >4 color Red, <2 color blue =3 color green. Or like if true=green false =Red. I just want set them up to help myself visualize what is going on in my script. Nothing going into Revit (for now anyways) Thanks!


I thought there was a way to do this at one time but I may be mistaken.
You can use Color Range to create your own color preview but it only takes one value at a time (or a spectrum). If you wanted to show multiple parameter values all at once you could build geometry for each value and show colors dynamically that way. (I usually build geometry.)


How about a little Design Script @mix?