No, I was wrong. Some topics I have just finished reading are black, and some are gray/grey. As Morbs said, completely random.
It's gray if you've visited the link. For topics, that means the last post in the topic you have read is the one you clicked on.