Oscar, the robot follows the black tape by use of IR sensors on both sides of the line. It can definitely follow any type of color as long as the new colored tape offers a different IR value than the floor. Also remember that to specifically read a certain color you need the same colored LED, but for simplicity, if you only want to detect difference in color then any color will do just fine.
http://www.societyofrobots.com/sensors_color.shtmlIt's normally triggered by offering a threshold value to initiate a turn right/left function that commands the bot to stay on course.
For example, a white floor with a black tape can offer good differentiation, but a white floor on a lightly colored green or blue will not offer the same values, but ideally will still work.
let's simply use 0-100 (darkest to brightest) these values can vary depending on your ADC(Analog to digital converter)
white floor: 80
black tape: 20-30
green tape: 50-60
a good trigger value can be 70, but to be more accurate I'd stay with the black tape because it offers reliability. Sometimes the white floor can have stains or dirt and can trigger if too close to the "white floor value"
Note: the brightest would obviously be a light source of some kind shinning down on the sensor
Let me know if I confused you more or cleared any doubts

I'm no expert so it's best you look online for details, but this should suffice to get you in the right path.