In the following statement, why don't we consider red as noun even though it is the name of a color.
red
The apple is red.