ectedColor = get255BasedColor( '#444' );
	const oceanColor = get255BasedColor( 'rgb(100,200,255)' );
	resetPalette();

	function setPaletteColor( index, color ) {

		palette.set( color, index * 4 );

	}

	function resetPalette() {

		// make all colors the unselected color
		for ( let i = 1; i < maxNumCountries; ++ i ) {

			setPaletteColor( i, unselectedColor );

		}

		// set the ocean color (index #0)
		setPaletteColor( 0, oceanColor );
		paletteTexture.needsUpdate = true;

	}

	{

		const loader = new T