fix colours in Firefox

This makes the colours more random, but also makes sure they work in Firefox (was missing initial '#' in some places).