text: various exemplary embodiments , features , and aspects of the invention will be described in detail below with reference to the drawings . hereinafter , description is given of a coloration variation automatic generating function executed as a part of application software installed on a personal computer ( pc ) according to exemplary embodiments of the present invention with reference to the accompanying drawings . conceivable examples of a page design to be edited with the application include any document including colorable raster data , vector data , or character data , such as a general office document and a document intended for specific purposes like a poster , a postcard , or presentation data . further , the page design application has various functions for editing a page design and thus can resize , move , and rotate page elements , correct an image , edit text , decorate a photo or text , and set a background . in the following description , a first exemplary embodiment focuses on processing based on a coloration database ( db ) that statically stores data , and a second exemplary embodiment focuses on processing for dynamically generating a coloration pattern based on an extracted color . further , a third exemplary embodiment focuses on processing for automatically analyzing colors in a designated area and displaying candidates for color extraction . fig1 illustrates an example of a screen that displays coloration variations according to an exemplary embodiment of the present invention . in the illustrated example , coloration variations of a page design under editing , which are generated based on an extracted color of the page design , are displayed in a thumbnail view . if a desired coloration design is included , a user can replace the page design under editing by the selected coloration design only by selecting a corresponding thumbnail image from the page design list and clicking an ok button 107 on the screen . a main screen 101 of the page design application includes a screen for displaying a list of design elements ( hereinafter collectively referred to as “ artwork ”), such as a menu corresponding to various types of processing , a tool bar , a button , a photo , clip art , a photo frame , character decoration , and background . further , the application includes an area 102 for displaying a selected page design in a document to be edited ( hereinafter referred to as “ preview area ”). in the preview area 102 , elements of the page design ( hereinafter collectively referred to as “ object ”) can be moved or resized . an operation of entering the command or user operation is performed with an input device , such as a mouse or keyboard connected to the pc . in the preview area 102 , the whole page design that is being edited is displayed . in the present exemplary embodiment , a document of one page is edited . however , a document of plural pages can be edited . in this case , the application needs to wait for input of a command to skip to any page so as to move to a page designated by a user . in addition , the application can have a function of supporting an editing process , such as a guide , a grid , or ruler , so as to smoothly lay out an object in an intended position . a coloration variation generating button 103 is located on the tool bar of the main screen 101 . the tool bar includes another processing button and a dropdown list for designating display scaling of the preview area 102 . when the coloration variation generating button 103 is selected , the application shifts to a color extraction mode . if a color in a desired position is selected in the color extraction mode , a plurality of page designs that reflect color patterns generated based on the extracted color are automatically generated and displayed on a coloration design candidate screen 104 . the coloration variation display screen 104 displays page designs automatically generated in response to the selection of the coloration variation generating button 103 in a thumbnail view . in any thumbnail , the entire page design is displayed , so that a user can easily check how an impression about a page design is changed according to the change in coloration design . further , a main color and sub colors used for coloration can be additionally displayed as actual colors under the thumbnail images of each generated page design . if the ok button 107 is selected , a page design 105 that is being selected is displayed in the preview area 102 . at this time , if a page design in the preview area 102 is being edited and not yet stored in a file system of the pc , the application displays a warning message to prompt a user to save the page design . a dropdown menu 106 is operable for resizing a generated page design image to select a display size from among a large size , a middle size , and a small size . a procedure from selecting the coloration variation generating button 103 up to displaying the page design list is described in detail below . fig2 illustrates a page design that is being edited by the application according to an exemplary embodiment of the present invention . a main screen 201 of the page design application is similar to the main screen 101 . a page design 202 under editing is displayed in the preview area . in the page design 202 , plural objects are laid out . that is , text 204 , 206 , and 210 , a photo object 208 , clip art 211 , a circle as a kind of graphics 207 , rectangles 203 and 205 , and a background 209 are laid out . among those , colors of text , rectangle , background , and clip art can be changed and thus are objects as a coloration target . the page design application has a function of changing colors of the entire vector image including the target objects , such as a background or clip art , based on a designated color . if the vector image is composed of one area , the entire vector image is set to the designated color . on the other hand , the vector image is composed of plural areas , the areas are divided into a main area having a reference color ( area that determines an impression about the whole vector image ) and the other areas . colors of the other areas ( hereinafter referred to as “ the other area color ”) are determined based on the reference color . a relationship between the reference color and the other area color is defined for each vector image . for example , a certain vector image can have a rule that the other area color has a predetermined difference in brightness from the reference color . thus , if colors of the vector image are designated to change the coloration of the whole vector image , visual impressions can be largely changed . a well - balanced coloration design is such that the entire page design has an organized and harmonized coloration . to attain the well - balanced coloration , colors of the individual objects need to be arranged in a well - balanced manner . in the case of laying out a natural image like a photo , colors of the other objects need to be arranged so as to match colors of the photo or an impression thereof and an emphasized color ( hereinafter referred to as “ accent color ”) of the photo image . further , if a design or coloration is determined from the start , a photo that matches the design or coloration can be selected . fig3 illustrates a screen in a condition where the page design application is in the color extraction mode according to an exemplary embodiment of the present invention . a cursor 301 selected in the color extraction mode is displayed as a color picker in the form of a dropping pipette . the color picker has a function of extracting a color of a pixel pointed by the cursor 301 . an extraction color display screen 302 displays a color of a pixel on the image pointed by the cursor 301 and values of the color . color information about the extracted color is changed according to movements of a mouse . compared with a solid vector image , a natural image , such as a photo , involves variations in color between adjacent pixels . to respond to such a situation , upon the color extraction , colors of a pixel pointed by the cursor 301 and pixels surrounding the pixel are averaged and extracted . for example , colors of the pixel pointed by the cursor 301 and eight pixels surrounding the pixel on all sides are extracted and averaged , and an averaged color is displayed on the extraction color display screen 302 . fields 303 and 304 indicate color information of the pixel pointed by the cursor 301 in the form of actual color and color values . in the field 303 , the extracted color is displayed in the solid form . the field 304 is represented by hsv values of a color space model composed of three elements : hue ( h ), saturation ( s ), and value ( brightness ) ( v ). h , s , and v are determined in a range of 0 to 360 °, 0 to 100 %, and 0 to 100 %, respectively . in the illustrated example , the hsv color space is used , but the other color space can be used or the color space can be replaced . for example , hsv values and rgb values can be switched from each other or both of the values can be displayed at the same time . a color to be extracted is determined according to mouse click in the color extraction mode , and the extraction color display screen 302 is closed . then , processing for generating a coloration variation and displaying a thumbnail thereof is performed as described below . fig4 and 5 illustrate a processing flow for generating a color variation based on an extracted color on a page design according to an exemplary embodiment of the present invention . the application searches for a statically defined coloration pattern having the same color as the extracted color and generates a coloration variation reflecting the color of the coloration pattern . in step 401 , the coloration variation generation processing is started , in other words , the coloration variation generating button 103 is selected . in step 402 , the application shifts to the color extraction mode , changes a shape of the cursor 301 to a dropping pipette design , and displays the extraction color display screen 302 . in step 403 , the application determines whether a color to be extracted is selected . if selected ( yes in step 403 ), the process advances to step 404 for searching the coloration database . if not selected ( no in step 403 ), the process advances to step 416 for terminating coloration variation generation . if a user clicks a mouse , a color of a pixel pointed by the cursor 301 is selected as a reference color of the coloration variation . if a button or menu for canceling the color extraction mode , a reference color is not determined , and the coloration variation generation is cancelled . in step 404 , the application searches a coloration pattern based on the reference color extracted in step 403 from the coloration pattern database . the coloration pattern database is described in detail below with reference to fig6 . here , processing for searching a coloration pattern having a main color similar to the reference color is carried out . each color has three color information as parameters , and a range of each parameter value is wide , so that a lot of colors can be expressed . therefore , in step 404 , whether the main color and the reference color are identical to some degrees is checked instead of checking whether the two colors are completely identical . more specifically , hue h is divided into 10 hue regions , and it is determined whether the main color and the reference color are within the same hue region . the application stores a record number of a coloration pattern having a main color similar to the reference color in the form of color arrangement , and the record number is used in subsequent coloration pattern applying processing . in steps 405 to 408 , the application repeats processing for generating a page design by applying each coloration pattern retrieved in step 404 to the objects on the page design , and storing the generated page design in the temporary storage directory . in step 405 , if it is determined that any coloration patterns remain to be applied ( no in step 405 ), then in steps 406 , 407 , and 408 , processing for changing coloration of each object is repeatedly carried out . if no coloration pattern remains to be processed ( yes in step 405 ), that is , all coloration patterns are applied , the process advances to processing of step 409 . steps 406 and 407 correspond to processing for applying colors of the coloration pattern in order based on object on the page design under editing . for example , presume that the number of colorable objects is five ( obj 1 , obj 2 , obj 3 , obj 4 , and obj 5 ) and the number of coloration patterns is three ( c 1 , c 2 , and c 3 ). in this case , the coloration pattern c 1 is applied to the objects obj 1 and obj 4 , the coloration pattern c 2 is applied to obj 2 and obj 5 , and the coloration pattern c 3 is applied to obj 3 . as described above , if a target object is a vector image including a main area and the other area , the color is applied to the main area , and colors determined based on the rule defined in the vector image are applied to the other area . incidentally , the processing for applying a rule is performed on data as a copy of a page design so as not to affect the page design displayed on the preview screen . at this time , the data can be copied to a memory or file system . if the design change rule is applied to page design data copied to the memory , the application result is also stored in the memory . processing for generating a variation where applicable colors are arranged in different order can be additionally performed by use of the processed coloration pattern . that is , in the above case where the number of colorable objects is five and the number of coloration patterns is three , the coloration patterns c 3 , c 2 , and c 1 can be applied in this order to generate a coloration variation . in this case , another page design in which the coloration pattern c 3 is applied to the objects obj 1 and obj 4 , the coloration pattern c 2 is applied to the objects obj 2 and obj 5 , and the coloration pattern c 1 is applied to the object obj 3 is generated . in step 408 , the application stores page design data subjected to coloration processing in steps 406 and 407 in the temporary storage directory on the file system . at this time , the file can be saved with any unique name in the temporary storage directory . the temporary storage directory is described in detail below . in step 409 , the application counts the number of page design files stored in the temporary storage directory . if the count value is zero ( yes in step 409 ), the application advances to step 410 , where the application displays a warning message indicating that the coloration pattern database includes no coloration pattern having a main color belonging to the same hue group or processing is suspended due to any error , and terminates the processing in step 416 . conceivable error factors include such a situation that a generated page design cannot be saved owing to lack of an available free space of the file system . if the count value is not zero ( no in step 409 ), the application advances to step 411 in step 411 , the application displays the coloration variation display screen 104 and a list of all page designs stored in the temporary storage directory with a small size . the reduced - size image of the page design to be displayed is image information included in the page design file . a format of the page design file is described in detail below . in step 412 , the application waits for a user to enter a command on the coloration variation display screen 104 . if the user selects the ok button 107 on the screen 104 ( ok in step 412 ), the application advances to step 413 , where the application performs processing for displaying the selected page design . if a cancel button 108 is selected in step 412 ( cancel in step 412 ), the application advances to step 415 , where the application deletes all page designs stored in the temporary storage directory . in step 413 , the application performs processing for opening a page design file corresponding to an item selected on the page variation display screen 104 and displaying the fine on the page preview . here , it is assumed that if a displayed page design is not yet saved , a warning message is displayed as described above ; this processing is included in step 413 . in step 414 , the application sets a color of the coloration pattern used for generating the page design as a recommended color on a screen for setting attributes of an colorable object . an object , such as text or graphics , can be added even after the page design is selected . in such cases , it is ensured that a color of the coloration pattern can be easily selected on the object attribute setting screen while keeping a coloration balance of the entire page at the time of changing a color of the object . thus , an editing operation can be continued without losing the coloration balance . in step 415 , the application deletes all page designs saved in step 408 from the temporary storage directory . then , in step 416 , the application closes the coloration variation display screen 104 and terminates the coloration variation generation processing . fig6 illustrates a coloration pattern database 601 for use in the application according to an exemplary embodiment of the present invention . as described above , in the coloration variation generation processing , colors to be actually arranged are selected from the coloration pattern defined in the coloration pattern database 601 . the coloration pattern is defined based on knowledge about color design and coloration and how - to - design and thus the colors are well balanced in terms of design . for example , a coloration pattern introduced in a coloration text can be used . further , it is desirable to define the coloration pattern such that main colors and corresponding coloration patterns all belong to 10 hue groups in order to compare the colors with every conceivable reference color . incidentally , it is difficult to define many main colors for some hues . thus , the number of main colors can be different between hue groups . in the coloration pattern database 601 , three coloration patters , a main color , a sub color 1 , and a sub color 2 , are defined . according to an exemplary embodiment of the present invention , the number of hues defined in the coloration pattern is not limited . that is , as long as a color - balanced design is achieved , some coloration patterns can include only one sub color or three sub colors . however , in general , the more the number of hues in the coloration pattern , the less the number of matched combinations . therefore , in the coloration pattern database 601 , most patterns can include one or two sub colors . incidentally , data in the coloration pattern database 601 is defined as color information on the hsv color space but can be defined as a value on the other color space , such as an rgb value . fig7 illustrates an example in which hue is divided into 10 hue groups to explain definition of a main color determined in the coloration pattern database 601 according to an exemplary embodiment of the present invention . fig7 is also a schematic sectional view illustrating a well - known hsv color space . a block 701 represents a group h 3 as one of the divided hue groups h 1 to h 10 , and yellow or a color having a hue similar to yellow belongs to the group h 3 . in fig7 , although hue is equiangularly divided into hue groups , an area can vary among hues . the arrow 702 indicates a direction in which a hue value increases . that is , a hue is changed in the order of red , yellow , green , blue , and purple according to an increase in hue value from 0 to 360 degrees . the arrow 703 indicates a direction in which saturation is increased . a color having higher saturation is vivid ; a color having lower saturation is muddy due to the high degree of mixture of gray . although not illustrated , the brightness is defined in a direction of the normal of the circle , that is , in a direction of increasing a distance from the drawing sheet , and color becomes pale and light as the brightness increases . the hsv space can be represented three - dimensionally in the conical or cylindrical form , and in the present exemplary embodiment , any form can be used . fig8 is a schematic diagram illustrating a temporary storage directory for use in the application according to an exemplary embodiment of the present invention . a directory 801 contains page design files 802 generated in the coloration variation generation processing . the number of page design files 802 corresponds to the number of successfully applied coloration patterns . the page design files are automatically deleted after the completion of generating the coloration variation . the temporary storage directory can be statically kept by the application or can be changed by a user as appropriate according to the configuration of the pc . fig9 illustrates a format example of a page design file for use in the application according to an exemplary embodiment of the present invention . in a field 901 , a version name of the application that generated the page design file , which determines attributes of the whole page design , is stored . in fields 902 and 903 , page information is stored . in some cases , a document includes plural pages . in such cases , information in the fields 902 and 903 is stored repeatedly . the field 902 stores information specific to the page , e . g ., a page size , a margin , and a background object . the field 903 stores information used as attributes of an object group of the page design , such as an object type or size , rotation , decoration such as a photo frame or a character decoration , and an applicable color . in the field 904 , bit map data of a thumbnail image of the page design is defined , which is used on the coloration variation display screen 104 . upon target page design saving processing , the page design is rendered at low resolution , and the rendering result is stored as a bit map in the field 904 . fig1 illustrates a text attribute setting screen for use in the application according to an exemplary embodiment of the present invention . fig1 also illustrates how a color in the coloration pattern of the selected page design as one processing target in step 414 is set as a recommended color on the text attribute screen . a dropdown list 1001 is used to change a font type of text selected on the page preview as well as displaying a current font type . a dropdown list 1002 is used to change a font size as well as displaying a current font size . a selected color display area 1003 is used to display a color of the current text , and data in the area 1003 cannot be changed at all . hence , each time text is selected , the area 1003 is updated . a recommended color selection button group 1005 is preset for text . the button group 1004 is displayed in the applicable color . at startup , colors , such as white , black , gray , and red , are set as default values . when one button of the recommended color selection button group 1004 is selected , a color of the selected text is changed to the recommended color . in the processing of step 414 , a color group in the coloration pattern is set to the recommended color . as a result , in the subsequent editing processing , as long as the recommended color is used , the processing can be continued without largely chancing coloration of the page design . a button 105 is used to display a color selection screen . when the button 1005 is selected , a general - purpose color pallet screen is displayed . in the color selection screen , a user can freely select a color , such as separately designating hsv or rgb values , and the color set on the color selection screen is reflected to the selected text . the second exemplary embodiment is similar to the first exemplary embodiment except that a coloration pattern is automatically generated . fig1 and 12 illustrate a processing flow for generating a coloration variation based on an extracted color of the page design according to an exemplary embodiment of the present invention . the application dynamically generates plural coloration patterns based on the coloration rule defined in a coloration pattern generation rule database , and generates a coloration variation reflecting colors of the coloration pattern . in step 1101 , coloration variation generation processing is started , in other words , the coloration variation generating button 103 is selected . in step 1102 , similar to step 403 , the application shifts to the color extraction mode and changes a shape of the cursor to a dropping pipette design , and displays the extraction color display screen . in step 1103 , the application checks whether a color to be extracted is selected . if selected ( yes in step 1103 ), the application performs coloration pattern generation processing of steps 1104 to 1106 . if not selected ( no in step 1103 ), the application advances to step 1115 to terminate coloration variation generation . a criterion of selecting a reference color is similar to that of step 403 . in steps 1104 to 1106 , the application performs processing for generating a coloration pattern based on the reference color extracted in step 1103 and a rule defined in a coloration rule database as described below , and adding the generated pattern to the coloration db . in step 1104 , if some coloration rules remain to be applied ( no in step 1104 ), the application advances to step 1105 . if all coloration rules are applied to generate coloration patterns ( yes in step 1104 ), the application advances step 1107 . in step 1105 , the application generates a coloration pattern based on the reference color according to the coloration pattern generation rule . the coloration pattern generation rule is described in detail below . next , the application advances to step 1106 , where the application adds the generated coloration pattern to the coloration database . the coloration database is similar to the database 601 . that is , each record is composed of a combination of plural colors like a combination of the reference color , the sub color 1 , and the sub color 2 . in steps 1107 to 1110 , the application repeats processing for applying all coloration patterns defined in the coloration database to objects on the page design to generate page designs , and saving the generated designs in the temporary storage directory . in step 1107 , if some coloration patterns remain to be applied ( no in step 1107 ), then in steps 1108 , 1109 , and 1110 , the application repeatedly performs processing for changing coloration of each object . if no color pattern remains to be processed ( yes in step 1107 ), the application advances to step 1111 . steps 1108 , 1109 , and 1110 represent processing for applying colors of the coloration pattern in order on an object - by - object basis on the page design under editing . steps 1108 , 1109 , and 1110 are similar to steps 406 , 407 , and 408 . in addition , if an applicable color of the coloration pattern is changed , another variation can be generated as in the illustrated example of fig4 . steps 1111 to 1116 correspond to processing for displaying a coloration variation and a selected page design . likewise , steps 1111 to 1116 are similar to steps 411 to 416 . fig1 illustrates a coloration pattern generation rule database 1301 for use in the application according to an exemplary embodiment of the present invention . as described above , in the coloration pattern generation processing , a coloration pattern is dynamically generated based on the rule defined in the coloration pattern generation rule database 1301 . the coloration pattern generation rule is also defined based on knowledge about graphic design or coloration and how - to - design such that colors can be well balanced in terms of design . as for the coloration rule , a color of similar hue , a similar color , or a complementary color is used in many cases . even in the case of using a color of similar hue , the following variation and know - how are conceivable : a brightness difference is set , a pure color is used , or an achromatic color is used . in the coloration pattern generation rule database 1301 , such a coloration pattern generating method is defined . in each record of the coloration pattern generation rule database 1301 , a definition of a reference color and a method of generating color 1 and color 2 are determined to generate a coloration pattern ( in the present exemplary embodiment , the main color , the sub color 1 , and the sub color 2 ). the reference color is used for the generated color 1 and generated color 2 and becomes a main color when added to the coloration database in step 1106 . likewise , colors generated based on the rule of the generated colors 1 and 2 become sub colors 1 and 2 on the same coloration database . record nos . 1 to 4 are based on the coloration pattern generation rule in which the extracted color is used as a reference color . in record no . 1 , a rule of generating a color of the same hue as the reference color , that is , generating a color with 30 % higher brightness without changing the same h value is defined for the generated color 1 . since no value is defined in the generated color 2 , the coloration pattern includes no sub color 2 . in record no . 2 , a rule of generating a color with the same hue and 30 % higher / lower brightness , is defined for the generated colors 1 and 2 . in record no . 3 , a rule of generating a color with the same hue and 30 % higher / lower saturation , is defined for the generated colors 1 and 2 . in record no . 4 , a rule of generating a color with the same hue , 30 % higher brightness , and 30 % lower saturation , is defined for the generated colors 1 and 2 . record nos . 5 to 12 are based on the coloration pattern generation rule in which a pure color is generated from the extracted color and the pure color is used as a reference color . in this example , it is assumed that the pure color can be generated by setting saturation of the extracted color to 100 %. the rule of record nos . 5 and 6 is the same as that of record nos . 1 and 2 except that the reference color is set to the pure color . in record no . 7 , a rule of generating a color with a similar hue and 30 % higher brightness , is defined for the generated color 1 . the similar hue is a hue adjacent to the target hue in fig7 . according to the definition of the generated color 1 in record no . 7 , a similar hue is defined as + 1 , so that a color of an adjacent hue in the direction of increasing the h value is generated . more specifically , the hue is divided into 10 equiangular fan - shaped groups , so that a color of an adjacent hue is a color having an h value 36 degrees larger than that of the reference color . since the hue reaches the same position after a 360 - degree roll , a remainder of ( h + 36 ) from 360 corresponds to the similar hue . in record no . 8 , a color having a similar hue of a group on the right side and 30 % lower brightness , is generated for the generated color 1 , and a color having a similar hue of a group on the left side , that is , a color of ( h − 36 ), and 30 % lower brightness , is generated for generated color 2 . if a value of ( h − 36 ) is negative , 360 + ( h − 36 ) is used as the similar hue . in record no . 9 , a rule of defining a fixed color as the generated color 1 is defined . more specifically , hsv values representing light gray are directly defined . as a result , according to the generation rule of record no . 9 , two coloration patterns , light gray and pure color as the extracted color are generated . in record no . 10 , a coloration pattern including a color having the same hue and 30 % higher brightness , and light gray as in no . 9 is generated . in record no . 11 and 12 , a generation rule in which a complementary color is used is defined . the complementary color is defined as a color of an opposite hue group in fig7 , more specifically , a color having an h value added with 180 . for example , a complementary color in the group h 3 of fig7 is a color of the group h 8 . similar to the similar color , a remainder of ( h + 180 ) from 360 is the complementary color . in no . 11 , a color that is a complementary color and has 30 % higher brightness is generated for the generated color 1 , and in no . 12 , a color that is a complementary color and has 30 % higher saturation is generated for the generated color 1 . in the coloration pattern generation rule of the coloration pattern generation rule database 1301 , the degree of increase / decrease of brightness and saturation is fixed , but can be changed according to a reference color . for example , a rule that brightness and saturation of a reference color and each generated color are set at regular intervals on the brightness coordinate system and saturation coordinate system , can be applied . further , a rule of generating a so - called opposite color , that is , color in a hue group adjacent to a complementary color , can be applied . a third exemplary embodiment describes processing for automatically analyzing a color in a designated area and displaying candidates for extracted color upon selection a color to be extracted prior to a step of applying a coloration pattern . that is , the processing corresponds to step 403 of fig4 and step 1103 of fig1 . in the present exemplary embodiment , the processing after the selection of a color to be extracted can be performed with either a coloration pattern statically defined as in the first exemplary embodiment or a coloration pattern dynamically generated as in the second exemplary embodiment . fig1 illustrates an example in which an area is selected on a color - extraction - target object in the color extraction mode according to an exemplary embodiment of the present invention . the application shifts to the color extraction mode upon selecting the coloration variation generating button 103 , and a user can select an arbitrary rectangular area on the page design under editing . an area 1401 in a side portion of the cube of a photo object 208 illustrated in fig2 is selected by being dragged with a mouse . after the completion of mouse - dragging , an extraction color selection screen 1501 illustrated in fig1 is displayed . by selecting a button or menu for canceling the color extraction mode , the color extraction mode is terminated and the coloration variation processing is cancelled . fig1 illustrates the extraction color selection screen 1501 according to an exemplary embodiment of the present invention . in the extraction color selection screen 1501 , main colors in the area 1401 are listed together with their hsv values . color information of colors of all pixels in the area 1401 is thinned out to reduce the number of colors of the area . among those , the top four colors having a large area are used as the main colors . here , the number of main colors is 4 , but can be increased or decreased . at the time of extracting a color of a natural image like a photo as described above , a color varies between adjacent pixels in many cases . to accurately extract an intended color via mouse operations , a method of extracting a color on a pixel - by - pixel basis as in the first and second exemplary embodiments is effective . in the case of previously selecting a color and extracting the color , a method of designating an area to select a color to be extracted as in the third exemplary embodiment is effective . an extracted color 1502 is in a selected state on the screen 1501 . under this condition , if an ok button 1504 is selected , a color to be extracted is determined . then , a coloration variation is generated based on the extracted color , and a coloration variation selection screen 1601 illustrated in fig1 is displayed . if an area reselect button 1503 is selected , an area can be reselected as illustrated in fig1 . if a cancel button 1505 is selected , the color extraction mode is terminated . fig1 illustrates a coloration variation display screen 1601 according to an exemplary embodiment of the present invention . the coloration variation display screen 1601 is displayed after the completion of selecting the ok button 1504 . the coloration variation display screen 1601 is similar to the coloration variation display screen 104 illustrated in fig1 except that a color reselect button 1603 is provided . more specifically , in the coloration variation display screen 1601 , coloration variations generated based on the extracted color selected on the extraction color selection screen 1501 are displayed in a thumbnail view . if an ok button 1604 is selected , a page design 1602 that is in a selected state is displayed on the preview screen . after the page design 1602 is displayed on the preview screen , the coloration variation generation function is terminated . if the color reselect button 1603 is selected , the extraction color selection screen 1501 is displayed , so that a color to be extracted can be selected again . if a cancel button 1605 is selected , the coloration variation display screen 1601 is closed . fig1 is a block diagram illustrating an apparatus on which the page design application is executed according to an exemplary embodiment of the present invention . in fig1 , the apparatus includes an input device 1701 , such as a keyboard or a mouse , a central processing unit 1702 configured to perform management control of the apparatus , input or correction of an image , and generation of edited data for printing , a display device 1703 , a storage device 1704 , such as a hard disk , configured to store an image data file or a corresponding image correction command history file , a printer 1705 configured to print edited data , an image input device 1706 , such as a film scanner , a flatbed scanner , or a digital camera , and an external storage device 1707 , such as a floppy disk drive or a storage medium for use with a digital camera . in the above - described exemplary embodiments , processing for extracting a color of a photo has been described by way of example . however , a target object is not limited to a natural image like a photo but can be any image , such as a vector image or text in place of a raster image . in the first exemplary embodiment , at the time of searching for the same color , not only the main color but the sub colors 1 and 2 can be used . if so , a wide variety of coloration variations can be generated . moreover , in the first and second exemplary embodiments , the following logic can be applied . in coloration processing for each object , an applicable color is determined according to an object type or an area ratio on the page design . for example , a sub color can be applied to a large element , such as a background object , and a main color can be applied to a small element , such as a rectangle object . in addition , additional processing can be performed to check a design just before generation of a coloration variation to equalize the tone of the entire image as much as possible . for example , if the background is light and the text is black in the design just before generation of a coloration variation , a color having high brightness and a color having low brightness out of the coloration pattern are applied to the background and text , respectively . furthermore , a user interface for finely adjusting color information of a color extracted in the first and second exemplary embodiments can be provided . for example , a screen having a slider for changing hsv values of the extracted color or a slider for changing rgb values can be displayed before the color selection and before step 404 or 1104 . according to the above - described exemplary embodiments , coloration variations can be automatically generated based on colors of an object , so that a design can be easily generated with desirable coloration . furthermore , the coloration pattern is generated according to the definition of coloration pattern generation rule on the coloration pattern database based on a design rule , so that even a general user having little design knowledge can easily generate a desired coloration design . moreover , after the generated coloration variation is displayed , a color of the coloration pattern used for generating the coloration variation is set as a default value , thus reducing such a situation that a balance between colors of the page design is lost in the subsequent editing processing . while the present invention has been described with reference to exemplary embodiments , it is to be understood that the invention is not limited to the disclosed exemplary embodiments . the scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications , equivalent structures , and functions . this application claims priority from japanese patent application no . 2006 - 330693 filed dec . 7 , 2006 , which is hereby incorporated by reference herein in its entirety .