How are the types of Hidden Power decided?
Bulbapedia says:
The actual type of Hidden Power is determined by the Pokémon's individual values, and through calculation, can be set as one of other natural types.
But then wouldn't the same pokemon with different IVs have different types of Hidden power, or is it how the game works? If not, how does it work?