remove unused color cache code