The color of the character names are calculated, based on the character name. Using this simulator you can find out which name gets which color.
Just type in the name you're interested in, and it will be displayed in various previews.
The simulator follows those official restrictions:
Based on mingray's simulator.