Color detector