Split out code for terrain color settings