Closes #429: Generate icon colour via hash rather than random number.