A method of recording rainbow hologram for 2D eccoded transparency is proposed,and the experimental results are also given.