Color balance adjustment with curves