pre-calculate mono/multi-colour bits to reduce logic depth and
hopefully achieve timing closure.