Four colours a tile
Each tile here has only four colours, and one number can turn the sky to sunset.

How the GBC picks its colours, where Fox Run keeps them, and how one number can recolour a whole sky.
How colour works on the GBC
Each colour is made of red, green and blue, and each of them goes from 0 to 31. That gives 32,768 possible colours. A tile can only use the 4 colours of the palette it is given.
Artists work with this. A hill tile might use a light green, a mid green, a dark green and the sky behind it. Four well chosen colours read better on a small screen than many close ones.
Palettes in Fox Run
Fox Run keeps its colours in three tables: PAL_BG for the background (seven palettes for each level), PAL_OBJ for the sprites, and PAL_HUD for the text at the top of the screen.
Each colour is written as one number: red, plus green times 32, plus blue times 1024. The comment beside each row spells out the three values so you can read them.
Changing a palette changes every tile that uses it at once. That is why recolouring a whole level on the GBC is cheap: the tiles stay the same and only the palette changes.
Change the sky
The meadow's sky uses two palettes: the upper sky with its clouds, and the lower sky behind the hills. In the session you will turn them into a sunset.

Try it yourself
In the app this lesson opens a real game for you, with a guide that walks you through these steps:
- The meadow's sky is blue. Its colours come from two rows of the PAL_BG table.
Make the meadow sky a warm sunset orange.
- The meadow now has a sunset sky. Each level in Fox Run has its own seven palettes, so every level can have its own look.
