Conventional methods of introductions for designing fractal Christmas tree graphics only give graphics with black color. And the program structure is relatively complex. In this work, the program design language of C# is used to develop an E-learning environment of fractal Christmas tree graphics based on iterated function system, and briefer source codes are provided. Students can not only get colorful fractal graphics of different size by iterative operation in this E-Learning environment, but also get random color displays, which can arise the students' interesting and attract the students' attention. It can demonstrate the fixed points and limits of fractal graphics, which is favorable for students to study the conception of fractal Christmas tree graphics. It is easy for students to master the program design process and understand the structures of fractal Christmas tree graphics.