How to compare colors?

i recreated the macro without any errors, so maybe try deleting the BreakLinearColor nodes, and remake them by dragging off the inputs.

if you want to compare similar colors, instead of exact colors. you can convert RGB to HSV, and use NearlyEqual on the H values, to compare Hues.