Basically you are using the code: if mouse down, then set color effect to 1/0 (infinity, setting color effect to infinity makes it monotone) else
Just hold your mouse to see monotone