The magnitudes in hipad.xy are deduced from the ugriz colors