The transmission of monochromatic x rays through a CoO single crystal was measured for different orientations of the sample. The small variations in the linear absorption coefficient were considered as a hologram and the real-space image of the local atomic environment was successfully reconstructed. The holographic signal constituted about 1% of the detected intensity. Besides other benefits, the use of the absorption holography can increase the signal-to-background ratio by more than 1 order compared with the fluorescence holography.