Make color_palette return a context manager and deprecate context_palette