<<colour>> macro as value of "color" field, or something similar

Another question about the <<colour>> macro. :sweat_smile:

I had already asked before about it in Help with colour macro in stylesheet, How to change the color of a specific pill tag with a <<colour>> macro and got some great responses (for which I am really grateful)

Iā€™m just loving this macro, but unfortunately I havenā€™t mastered it yet.


The last thing Iā€™m missing is somehow getting the ā€œcolorā€ field to change based on the chosen palette. (I naturally thought of using the <<colour>> macro, but both by putting it as a value of the ā€œcolorā€ field and by trying with a stylesheet, I was unable to insert a color in the ā€œcolorā€ field that changes according to the palette)
I think I could fix this by making many rules in styleshets (which would override what is governed by the ā€œcolorā€ field)

But I was wondering if there was a more convenient and direct way. (Ideally just working on the value of the field)