Color discrimination and adaptation