A technique is presented for generating optical frequency combs centered at arbitrary wavelengths by use of cross-phase modulation (XPM) between a femtosecond pulse train and a cw laser beam by copropagating these signals through an optical fiber. We report results from use of this method to place a 90-MHz frequency comb on an iodine-stabilized Nd:YAG laser at 1064 nm and on a frequency-doubled Nd:YVO(4) laser at 532 nm. XPM is verified to be the comb-generating process, and the width of the frequency comb is measured and compared with theory. The spacing of the frequency comb is compared with the femtosecond source, and a frequency measurement with this comb is demonstrated.