Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var c=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"],i=0;$$(".blob-code").forEach(function(v){v.innerHTML = v.innerText.replace(/./g,function(s){return '<span style="color:#'+c[i++%c.length]+'">'+s+'</span>'})})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment