1. An image processing apparatus comprising: a specifying unit configured to specify a character within an image; a setting unit configured to set a representative color to the specified character by using colors of pixels constituting the specified character; a determination unit configured to determine whether the specified character is a reversed character; and a correction unit configured to correct the set representative color in a case where the specified character is determined to be a reversed character.