We describe a computer simulation technique for generating the monochromatic light diffraction from arbitrary apertures. For the Fresnel diffraction of rectangular and circular apertures, a simple form of equation for the light intensity distribution is derived. A method for displaying the color of monochromatic light on the monitor is presented. On this basis, we implement the diffraction simulation of white light formed via mixing three monochromatic lights of λ=700,546.1,435.8 nm with the same ratio in the RGB color space of CIE1931 system.