Being dog-matic is my nature. To use color appropriately is difficult. My suggestion is to avoid color. There are exceptions. In some cases color is an attribute of the object in question and not a means to code information:
Another successful example I like: