Optimized cell colour updates.