Rainbow is the seventh studio album by American singer and songwriter Mariah Carey, released on November 2, 1999, by Columbia Records. The album followed the same pattern as Carey's previous album, Butterfly (1997), in which she began her transition into the R&B market. Rainbow contains a mix of hip-hop-influenced R&B jams, as well as a variety of slow ballads. On the album, Carey worked with David Foster and Diane Warren, who replaced Walter Afanasieff, the main balladeer Carey worked with throughout the 90s. As a result of her separation from her husband, Tommy Mottola, Carey had more control over the musical style of this album, so she collaborated with several artists such as Jay-Z, Usher, and Snoop Dogg.