Dual color x rays from Thomson or Compton sources