I am exploring an idea I had the other day.
What if I would allow the registered users on a website to pick their own colors for their comments and posts? This way the manifestation of their presence and personality would be stronger, and also it would be easier to spot (and ignore/ban) trouble-makers (#900 characters on #000 background). ;)
How could I still guarantee that their posts are still readable? Can you recommend relevant algorithms?
I am primarily looking for JavaScript and PHP solutions but other approaches could be useful as well.