A colored background means that the Pokémon can be found in this location in the specified game. A white background with a colored letter means that the Pokémon cannot be found here.
Berries can be planted in any empty patch of soft soil. The soil that the berry was planted in will start out dry and can be watered by the player, the soil may dry up over time depending on the mulch and berry used. Weeds and Pokémon may appear around the berry tree which changes the amount of berries depending on whether they are dealt with.