Handle terminals with large numbers of unassignable colors

(with some educated guesses at the colormaps)