In Egypt there were black kings, yes. In Greece? I don't think so, but the Greeks had non-white heroes and even non-white Gods as part of their mythology, and as citizens too. So did the Romans. Blacks could even gain Roman citizenship. Black archers and dark-skinned Asian archers were always part of the Roman legions.
The coastal Mediterranean in ancient times was a pretty cosmopolitan place. There were many races and ethnicities that lived together, who traded with one another, and whose first loyalty was to their city-state, and not to any brand of racial divisiveness.
The Romans understood this better than anyone. Once you were conquered, the Romans allowed pretty much any kind law and culture, and any kind of religion and sexual persuasion. All races were welcome. As long as you paid your taxes, Rome stayed out of your face. And in many ways, the ancient Mediterranean was a lot less hung up over skin color than we are today.