Refactoring of biome colours

Incomplete and untested!
Introduce a palette struct

This should simplify colour handling with biomes.

Still untested!