There's an easy solution to this: give the tinting machine the ability to "top off" a can to a full gallon with additional base. That way, the consumer gets exactly a gallon, no matter what color he buys.