A method of correcting a white balance of an image, the method comprising: obtaining a first image captured by photographing a subject when a flash emits light, and a second image captured by photographing the subject when the flash emits no light; obtaining a WB gain of the first image and a WB gain of the second image; obtaining a color balance of flash light representing the strength of each color component of the flash by: obtaining a first luminance value corresponding to the first image and a second luminance value corresponding to the second image based on an exposure control value of each of the first image and the second image, wherein the exposure control value includes an aperture value, a shutter velocity, and sensor sensitivity; wherein the first luminance value corresponding to the first image is obtained according to the following equation: Bv ef = Av ef + Tv ef − Sv ef where Bv ef is the first luminance value corresponding to the exposure control values of the first image, the aperture value from among the exposure control values of the first image is indicated by Av ef, the shutter velocity therefrom is indicated by Tv ef, and the sensor sensitivity therefrom is indicated by Sv ef; wherein the second luminance value corresponding to the second image is obtained according to the following equation: Bv e = Av e + Tv e − Sv e where Bv e is the second luminance value corresponding to the exposure control values of the second image, the aperture value from among the exposure control values of the second image is indicated by Av e, the shutter velocity therefrom is indicated by Tv e, and the sensor sensitivity therefrom is indicated by Sv e; obtaining a first luminance difference corresponding to the first image and a second luminance difference corresponding to the second image, based on color components of each of the first image and the second image; obtaining a first representative luminance value corresponding to the first image, based on a sum of the first luminance value and the first luminance difference; obtaining a second representative luminance value corresponding to the second image based on a sum of the second luminance value and the second luminance difference; obtaining an influence of the flash light on the first image based on the respective representative luminance values of the first image and the second image; and obtaining the CB of the flash light based on the influence of the flash light on the first image and the obtained WB gains of the first and second images; and correcting a WB of the first image based on the CB of the flash light. obtaining a first image captured by photographing a subject when a flash emits light, and a second image captured by photographing the subject when the flash emits no light; obtaining a WB gain of the first image and a WB gain of the second image; obtaining a color balance of flash light representing the strength of each color component of the flash by: obtaining a first luminance value corresponding to the first image and a second luminance value corresponding to the second image based on an exposure control value of each of the first image and the second image, wherein the exposure control value includes an aperture value, a shutter velocity, and sensor sensitivity; wherein the first luminance value corresponding to the first image is obtained according to the following equation: Bv ef = Av ef + Tv ef − Sv ef where Bv ef is the first luminance value corresponding to the exposure control values of the first image, the aperture value from among the exposure control values of the first image is indicated by Av ef, the shutter velocity therefrom is indicated by Tv ef, and the sensor sensitivity therefrom is indicated by Sv ef; wherein the second luminance value corresponding to the second image is obtained according to the following equation: Bv e = Av e + Tv e − Sv e where Bv e is the second luminance value corresponding to the exposure control values of the second image, the aperture value from among the exposure control values of the second image is indicated by Av e, the shutter velocity therefrom is indicated by Tv e, and the sensor sensitivity therefrom is indicated by Sv e; obtaining a first luminance difference corresponding to the first image and a second luminance difference corresponding to the second image, based on color components of each of the first image and the second image; obtaining a first representative luminance value corresponding to the first image, based on a sum of the first luminance value and the first luminance difference; obtaining a second representative luminance value corresponding to the second image based on a sum of the second luminance value and the second luminance difference; obtaining an influence of the flash light on the first image based on the respective representative luminance values of the first image and the second image; and obtaining the CB of the flash light based on the influence of the flash light on the first image and the obtained WB gains of the first and second images; and obtaining an influence of the flash light on the first image based on the respective representative luminance values of the first image and the second image; and obtaining the CB of the flash light based on the influence of the flash light on the first image and the obtained WB gains of the first and second images; and correcting a WB of the first image based on the CB of the flash light.