The Color Gradients of the Globular Cluster Systems in M87 and M49