Can you also translate that as "That is a black rat." Duolingo said that was an incorrect translation.
That would be 'वह एक काला चूहा है। '. Notice that the subject of this sentence is वह/'that'.
The subject of the sentence वह चूहा काला है/ 'That rat is black' is 'वह चूहा' / 'that rat'