Optimal color matching