To me, this sounds like the sort of thing which is almost banal, the type of joke that was probably said at similar events which have 'masters' for the past couple of centuries by people who consider themselves witty. That the professor said it to a Black student demonstrates insensitivity, but probably also a sense of colour blindness which would be admirable were it not so naive.