Thread:Mathmagician/@comment-3508190-20120619000730/@comment-3508190-20120821165739

It seems I finally found an acceptable solution.

I've uploaded the demo page here: http://jade-empire-in-style.com/findreplace/demo.7z

The demo is 7zed - even though it's just a web page - because you really need to test it locally. Save it to your hard drive, open it in any browser and hit F5 as many times as you like.

Let me know what you think, please! :)

Oh, er, in case you don't remember: The Palette module that's the star of this demo takes the page's text-color and background-color as input and generates three alternate background-colors for text-hightlighting that contrast both with the input colors and each other, but form a harmonic palette.

The demo page contains lots of Lorem ipsum with a few highlighted passages sprinkled in between and a random color generator.