Color and optimization