We have studied opto-electric properties of wild type bacteriorhodopsin and its two artificial variants. We have measured opto-electric responses with respect to wavelength for all three proteins and we describe the use of the proteins for color detection. Opto-electric responses of proteins to set of colored lights were measured and it has been shown that bacteriorhodopsin and its variants can be used to recognize color. A simple equation for estimating opto-electric response to arbitrary spectrum is given.