By neildaemond, an 'any-stack' hacking grasshopper.
Taking notes while tinkering with:

I had an html table of categorised items, and I wanted to give each category its own colour automatically. So I thought I’d hash the category ID String into an HTML Hexadecimal colour. A search will find this stack overflow post, but I was using elm and thought it would be a fun task to translate this function into a functional style. Here’s how that went:

follow the 'hashfunctions' RSS feed by clicking here