In the sentence fragment "The black dog" black is clearly in adjective.
In the sentence "The dog is black" is black an adjective or a noun? More generally speaking, in sentences of the form "X is Y" is Y considered a noun, adjective, or is it context sensitive?