Can a list element be saved with a color?

In[667]:= seq = {a, b, c, d} (* make “c” green" *)

Out[667]= {a, b, c, d} (recover “c” as green in color)

Hi,

would this work for you?

seq = {a, b, Style[c, Green], d}

Cheers,

M.

Wow, that’s great. Thanks. Part even works with == conditions.

Now I figure out an “overstrike” so if two conditions are true, I can get CMY from RGB for 6 colors total.