In my application I have a chat service.
And as with chat, there are many users with different nicks, and I would like to have each nick with different color. So, are there any javascript algorithms which can convert a string (nick) to a RGB value? I was thinking about, idk, getting ascii value of each character, adding them together, and then somehow converting it to three hex values? Or something similar? Does anyone have any ideas on how to approach it?