Just to make it easier for myself I moved everything to the same comp.
This is what I have on the opacity parameter of the layer I’m trying to hide/show:
if (thisComp.layer("*PICK COLOR IN THIS LAYER*").effect("COLOR 2")("Color") == hexToRgb("61CFC8") 100 else 0;
I am getting an “Error: SyntaxError: Unexpected number”