Development of plastic optical fiber as color sensor