Remember that an X-ray is a negative image therefore the more energy that has reached the recording system, the darker that region of the film will be.
This is why the bones on an X-ray image appear whiter (less energy passes through) than the lungs (more energy passes through).