No. K spectral type stars (which are orange) temperature is ranging from 5,000-3,500. A spectral type stars (which are blue-white) temperature is ranging from 7,500-11,000.
set the < , =, > as "010" and connect the lower bit that you want to compare to the first comparators and connects its output to the input of second comparator like this; connect the P<Q to...