revamped color meter calculations