Unity Mix Gradient Colors

static Color EvaluateColorMix(float relativeX, float relativeY, Gradient horizontal, Gradient vertical)
{
  Color h = horizontal.Evaluate(relativeX);
  Color v = vertical.Evaluate(relativeY);
  return MixColors(h, v);
}

static Color MixColors(Color a, Color b) => (a + b) / 2;
Fancy Frog