Advanced coloured lines following robot
If you are using the EV3 Sensors you should use the EV3 Color Sensor which can detect 8 colors (colorless, black, blue, green, yellow, red, white and brown). If you are using the NXT I would recommend the HiTechnic Color Sensor or HiTechnic Color Sensor V2... I hope I could help.