Chromatic properties of freeform and multi-material gradient-index optics