The Breakout->ToVector you had in your flow only makes sense if you are swapping components (e.g. X becomes Y and Y becomes X etc.). Otherwise the Color output is already a Vector.
You can either compare each component, or, if you are interested in the intensity of the color, you could use the Magnitude of the Vector to convert it to (more or less) grayscale float value, then compare to a threshold. Obviously, this would lead to 1,0,0 and 0,1,0 to produce the same Float value, so if you are encoding different info in R, G, and B, using individual tests after a Breakout would make more sense…