For mountains you use a lighter shade on your heightmap - such as white or light grey, and have that gradually change to the ground's colour, so it's a gradual slope. For "holes" or rivers, dams, lakes, etc. use darker colours - try a black circle or line.