public static float AvgRGB(Color c)
 {
     return((float)XnaColorHelpers.SumRGB(c) / 3f);
 }
 public static float AvgRGBA(Color c)
 {
     return((float)XnaColorHelpers.SumRGBA(c) * 0.25f);
 }