I have an enum like:
public enum Blah { RED = 2, BLUE = 4, GREEN = 8, YELLOW = 16 } Blah colors = Blah.RED | Blah.BLUE | Blah.YELLOW;
The other answers are correct, but to specifically remove blue from the above you would write:
colors &= ~Blah.BLUE;