I have defined a color palette called tableau10
in Clingo:
tableau10(blue;orange;red;teal;green;yellow;purple;pink;brown;gray).
Is there a way to compare the colors by the order they appear in my color definition? (e.g., blue = 0, orange = 1, red = 2, ...
)
My goal is to be able to claim things like blue < orange
, blue < gray
...