saves and counts down number of colors