A non-transitory computer-readable storage medium storing an image forming program readable by a computer of an image forming apparatus, the image forming apparatus being configured to record an image on a recording medium while conveying the recording medium, the recording medium comprising a first layer configured to develop a first color based on exceeding a first temperature, a second layer configured to develop a second color based on exceeding a second temperature that is lower than the first temperature, and a third layer configured to develop a third color based on exceeding a third temperature that is lower than the second temperature, the first layer, the second layer, and the third layer being aligned in this order in a thickness direction, the image forming program, when executed by the computer, causing the image forming apparatus to perform operations comprising:
- forming the image of the mixed color of the first color, the second color, and the third color on the recording medium by steps comprising:
- a first step of developing the second color or the third color on the recording medium by applying energy to the recording medium from a head, the head being configured to apply the energy from the first layer side of the recording medium;
- and
- a second step of developing the first color on the recording medium by applying energy to the recording medium from the head after developing the second color or the third color in the first step.