Refactor app key colour generation
Refactor it with the aims of:
- Improving the contrast in the featured app tiles, between the icon and the background colour, and the background colour and the rest of the window (see here)
- Eliminating allocations
- Making it faster
- Allowing an override colour to be provided to fix corner cases