added an auto disposing color factory