Precompute color inverses to avoid creating objects during gameplay.