Board Thread:Script Suggestions/@comment-1084762-20140806225543/@comment-11733175-20140806234044

I guess you could do it with Sass or LESS. But it relies on you knowing how long the username is so you know which weights to use - I doubt you'll be able to do it on the fly.

It'll rely on each letter being in it's own span tag e.g  so you won't be able to do it the same way as we do normal highlighted names such as in Highlight/code.css it'll only be applicable to something like a signature.

You'd do it in LESS something like: a[href="/wiki/User:Cqm"] span { &:nth-child( 1 ) { color: mix( #000, #fff, 0% ); }   &:nth-child( 2 ) { color: mix( #000, #fff, 50% ); }   &:nth-child( 3 ) { color: mix( #000, #fff, 100% ); } } It might be possible to input a string and for it to calculate the weights (the percentage values) and how many nth-child pseudo-selectors are required, but it's not simple by any stretch of the imagination. If you do want to have a go at doing it, you might want to try Less.