In an optimized way (without going through a dozen if), I would like to compare a given color in a material with a list of colors. If the color is not part of the list of colors, it should display another one; otherwise, it should display the color.
For comparing a value to a list of values, you want to make sure the list is inside an array, and then use a for each loop (possibly for each with break node) to compare your color to each one