An electronic device for extracting a representative color comprising: a display unit configured to display an application icon; and a controller configured to: extract at least one first color value represented by a first RGB triplet from the application icon; extract at least one second color value represented by a second RGB triplet from at least one object included in the application icon; select a predetermined number of color values from the extracted color values based on a portion occupied by each of the extracted color values within the application icon; determine whether, among the selected color values, there are color values satisfying a color deviation which is a predetermined numerical value corresponding to a difference between maximum and minimum values of R-, G-, and B-component values determined in advance; if there are color values satisfying the color deviation, extract a high priority color value from the color values satisfying the color deviation occupying a largest portion within the application icon; if there is no color value satisfying the color deviation, extract an average color value using the selected color values; and determine the extracted value as a representative color. a display unit configured to display an application icon; and a controller configured to: extract at least one first color value represented by a first RGB triplet from the application icon; extract at least one second color value represented by a second RGB triplet from at least one object included in the application icon; select a predetermined number of color values from the extracted color values based on a portion occupied by each of the extracted color values within the application icon; determine whether, among the selected color values, there are color values satisfying a color deviation which is a predetermined numerical value corresponding to a difference between maximum and minimum values of R-, G-, and B-component values determined in advance; if there are color values satisfying the color deviation, extract a high priority color value from the color values satisfying the color deviation occupying a largest portion within the application icon; if there is no color value satisfying the color deviation, extract an average color value using the selected color values; and determine the extracted value as a representative color. extract at least one first color value represented by a first RGB triplet from the application icon; extract at least one second color value represented by a second RGB triplet from at least one object included in the application icon; select a predetermined number of color values from the extracted color values based on a portion occupied by each of the extracted color values within the application icon; determine whether, among the selected color values, there are color values satisfying a color deviation which is a predetermined numerical value corresponding to a difference between maximum and minimum values of R-, G-, and B-component values determined in advance; if there are color values satisfying the color deviation, extract a high priority color value from the color values satisfying the color deviation occupying a largest portion within the application icon; if there is no color value satisfying the color deviation, extract an average color value using the selected color values; and determine the extracted value as a representative color. <EOS>