CN104050004A - Method and device for setting colors of icons of interface and terminal - Google Patents

Method and device for setting colors of icons of interface and terminal Download PDF

Info

Publication number
CN104050004A
CN104050004A CN201410305420.0A CN201410305420A CN104050004A CN 104050004 A CN104050004 A CN 104050004A CN 201410305420 A CN201410305420 A CN 201410305420A CN 104050004 A CN104050004 A CN 104050004A
Authority
CN
China
Prior art keywords
color
icon
interface
precalculated position
adjacent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410305420.0A
Other languages
Chinese (zh)
Other versions
CN104050004B (en
Inventor
张政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201410305420.0A priority Critical patent/CN104050004B/en
Publication of CN104050004A publication Critical patent/CN104050004A/en
Application granted granted Critical
Publication of CN104050004B publication Critical patent/CN104050004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and device for setting colors of icons of an interface and a terminal, and belongs to the technical field of communication. The method includes the steps that the first color of the first icon of the interface is acquired; the second color of the icon or region adjacent to a preset position of the first icon is acquired; the color of the preset position of the first icon is determined according to the first color and the second color. Thus, one icon of the interface can be mapped into the color of the icon or region adjacent to the icon, the colors of the icons of the interface are enriched, and user experience is improved.

Description

Interface icon color setting method, device and terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of interface icon color setting method, device and terminal.
Background technology
Along with the development of the communication technology, various electronic installations have been widely used in life.The end device that people are the most frequently used, has human-computer interaction interface conventionally, and has multiple interface icon.Although current end device is more diversified, once setting, its surface chart target color pattern etc. just cannot change, be short of diversified color.
In summary, obviously there is inconvenience and defect in prior art in actual use, so be necessary to be improved.
Summary of the invention
For above-mentioned defect, the object of the present invention is to provide a kind of interface icon color setting method, device and terminal, the color that it can make surface chart mark shine upon adjacent icon or region, the color of rich interface icon, improves user and experiences.
To achieve these goals, the invention provides a kind of interface icon color setting method, described method comprises:
Obtain the first color of interface the first icon;
Obtain the icon adjacent with the precalculated position of described the first icon or second color in region;
Determine the precalculated position color of described the first icon according to described the first color and the second color.
According to interface of the present invention icon color setting method, describedly determine that according to described the first color and the second color the precalculated position color step of described the first icon comprises:
Described the first color and the second color blend processing are obtained to the 3rd color, and precalculated position color using described the 3rd color as described the first icon.
According to interface of the present invention icon color setting method, described in obtain the first color of interface the first icon step comprise:
Analyze the color distribution of described the first icon;
According to described color distribution, select the color of accounting maximum as the first color.
According to interface of the present invention icon color setting method, described method also comprises: the edge of the icon adjacent with the precalculated position of described the first icon is made as to described the 3rd color.
According to interface of the present invention icon color setting method, the precalculated position of described the first icon is the designated edge of described the first icon;
The adjacent region, precalculated position of described and described the first icon refers to the preset range region of the background image adjacent with described the first icon.
The present invention also provides a kind of interface icon color setting device, comprising:
Color acquisition module, for obtaining the first color of interface the first icon, and obtains the icon adjacent with the precalculated position of described the first icon or second color in region;
Color treatments module, for determining the precalculated position color of described the first icon according to described the first color and the second color.
According to interface of the present invention icon color setting device, described color treatments module comprises fusant module, for described the first color and the second color blend processing are obtained to the 3rd color, and precalculated position color using described the 3rd color as described the first icon.
According to interface of the present invention icon color setting device, described color acquisition module comprises:
Analyze submodule, for analyzing the color distribution of described the first icon;
Chooser module, for according to described color distribution, selects the color of accounting maximum as the first color.
According to interface of the present invention icon color setting device, described color treatments module is further used for the edge of the icon adjacent with the precalculated position of described the first icon to be made as described the 3rd color.
The present invention also provides a kind of terminal, and described terminal comprises interface provided by the invention icon color setting device.
The present invention is by obtaining the main color of a certain icon, and further obtain the color in the adjacent icon of this icon or region, two kinds of colors are carried out to fusion treatment and obtain the 3rd color, and fringe region color using the 3rd color as this icon, make whereby interface icon can shine upon the color in adjacent icon around or region, the color of rich interface icon, improves user and experiences.
Brief description of the drawings
Fig. 1 is interface of the present invention icon color setting device structural representation;
Fig. 2 is the interface icon color setting device structural representation of one embodiment of the invention;
Fig. 3 is icon color setting device interface, the interface schematic diagram of one embodiment of the invention;
Fig. 4 is interface another interface schematic diagram of icon color setting device of one embodiment of the invention;
Fig. 5 is interface another interface schematic diagram of icon color setting device of one embodiment of the invention;
Fig. 6 is the interface icon color setting method process flow diagram of one embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the invention provides a kind of interface icon color setting device, this device 100 is the devices with user interface, such as this device 100 can be the communication terminals such as mobile phone, PDA (Personal Digital Assistant, personal digital assistant), panel computer.Fig. 1 only shows structure related to the present invention, and described device 100 comprises color acquisition module 10 and color treatments module 20, wherein:
Described color acquisition module 10 is for obtaining the first color of interface the first icon, and obtains the icon adjacent with the precalculated position of described the first icon or second color in region.
Need to illustrate, the first icon is not a certain special icon of device 100, and the present invention can be understood as the arbitrary icon on device 100 interfaces.And in embodiments of the invention, the precalculated position of the first icon preferably refers to the designated edge of the first icon, such as, in conjunction with Fig. 3, the arbitrary edge in the Si Ge edge, upper and lower, left and right of the first icon A.Hold intelligiblely, the adjacent icon in precalculated position of described the first icon A, apart from a certain edge side of the first icon nearest interface icon, such as icon B and icon C.The adjacent region, precalculated position of described the first icon refers to the preset range region of the background image adjacent with described the first icon, as first area and second area adjacent with the first icon A in Fig. 4.Preferably, user or system can be selected adjacent icon or region according to default setting, to obtain the second color.
Described color treatments module 20 is for determining the precalculated position color of described the first icon according to described the first color and the second color.
After device 100 gets the first color and the second color, can carry out fusion treatment according to the colour of the first color and the second color, get whereby the 3rd color.In conjunction with Fig. 5, extract the second color of adjacent icon in this supposition, as install 100 the first colors of extracting the first icon A for red, the second color of the icon B on the first icon right side is green, color treatments module 20 can get another color (yellow) colour as the 3rd color using the red colour getting and green colour fusion calculation, and set it as the color in the precalculated position of the first icon A, describe above, the precalculated position of the first icon A refers to the right hand edge of the first icon., now the right hand edge of the first icon A can shine upon yellow.Simultaneously, described color treatments module is further used for the edge of the icon adjacent with the precalculated position of described the first icon to be made as described the 3rd color, understandable, the color treatments module 20 of device 100 also has same processing procedure to the left hand edge of icon B, also can shine upon yellow, referring to the dash area of icon A and B in Fig. 5.
Same, for other edge of the first icon A, also can do similar processing, such as the adjacent icon C of lower limb of the first icon A, its main color is blue, and the 3rd color after merging is fuchsin, and now the upper rim of the lower limb of the first icon A and icon C can shine upon the color of fuchsin.
Need to illustrate, if the first color is identical with the second color, needn't remake color treatments.Meanwhile, each icon can not affect original main color for the mapping of new color.If user or system are selected the first icon A mapping background color (background image) around, there is processing mode same as described above, the color of rich interface icon whereby, improves user and experiences.
In the present invention's one specific embodiment, in conjunction with Fig. 2, color acquisition module 10 comprises analyzes submodule 11 and chooser module 12, wherein:
Analyze submodule 11 for analyzing the color distribution of described the first icon.Surface chart target color is not that multiple color forms conventionally, and analyzing submodule 11 can analysis chart target color distribution, and the accounting of shades of colour kind distributes.12 of chooser modules, for according to described color distribution, select the color of accounting maximum as the first color.Obtain for the analysis of the second color identical with the first color, therefore do not repeat them here.
Color treatments module 20 comprises fusant module 21, for described the first color and the second color blend processing are obtained to the 3rd color, and precalculated position color using described the 3rd color as described the first icon.If the 3rd color getting has denseer colour, color treatments module 20 also can suitably be adjusted this colour, so that it can not affect original color of icon.
The present invention also provides a kind of terminal, and described terminal comprises interface provided by the invention icon color setting device 100.
Referring to Fig. 6, the invention provides a kind of interface icon color setting method, it can be realized by device 100 as shown in Figure 1 or 2, and the method comprises:
Step S601, obtains the first color of interface the first icon.
The first icon is not a certain special icon of device 100, and the present invention can be understood as the arbitrary icon on device 100 interfaces, and the first described color is the main color of the first icon.Surface chart target color is not that multiple color forms conventionally, and device 100 can analysis chart target color distribution, and the accounting of shades of colour kind distributes.According to described color distribution, select the color of accounting maximum as the first color.
Step S602, obtains the icon adjacent with the precalculated position of the first icon or second color in region.
The precalculated position of the first icon preferably refers to the designated edge of the first icon, such as, in conjunction with Fig. 3, the arbitrary edge in the Si Ge edge, upper and lower, left and right of the first icon A.Hold intelligiblely, the adjacent icon in precalculated position of described the first icon A, apart from a certain edge side of the first icon nearest interface icon, such as icon B and icon C.The adjacent region, precalculated position of described the first icon refers to the preset range region of the background image adjacent with described the first icon, as first area and second area adjacent with the first icon A in Fig. 4.Preferably, user or system can be selected adjacent icon or region according to default setting, to obtain the second color.
Step S603, determines the precalculated position color of described the first icon according to described the first color and the second color.
After device 100 gets the first color and the second color, can carry out fusion treatment according to the colour of the first color and the second color, get whereby the 3rd color.In conjunction with Fig. 5, extract the second color of adjacent icon in this supposition, the first color of extracting the first icon A as electronic installation 100 is redness, the second color of the icon B on the first icon right side is green, color treatments module 20 can get another color (yellow) colour by the red colour getting and green colour fusion calculation, and set it as the color in the precalculated position of the first icon A, and to describe above, the precalculated position of the first icon A refers to the right hand edge of the first icon., now the right hand edge of the first icon A can shine upon yellow.
Should be appreciated that the present invention can be made as the edge of the icon adjacent with the precalculated position of the first icon described the 3rd color, such as the left hand edge of icon B also has same processing procedure, mapping the 3rd color.When a certain surface chart cursor position of the present invention changes, or change background image, can the new periphery color of automatic mapping.
In sum, the present invention is by obtaining the main color of a certain icon, and further obtain the color in the adjacent icon of this icon or region, two kinds of colors are carried out to fusion treatment and obtain the 3rd color, and the fringe region color that the 3rd color is waftd as this figure, the color that makes whereby interface icon can shine upon adjacent icon around or region, the color of rich interface icon, improves user and experiences.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1. an interface icon color setting method, is characterized in that, described method comprises:
Obtain the first color of interface the first icon;
Obtain the icon adjacent with the precalculated position of described the first icon or second color in region;
Determine the precalculated position color of described the first icon according to described the first color and the second color.
2. interface according to claim 1 icon color setting method, is characterized in that, describedly determines that according to described the first color and the second color the precalculated position color step of described the first icon comprises:
Described the first color and the second color blend processing are obtained to the 3rd color, and precalculated position color using described the 3rd color as described the first icon.
3. interface according to claim 1 icon color setting method, is characterized in that, described in obtain the first color of interface the first icon step comprise:
Analyze the color distribution of described the first icon;
According to described color distribution, select the color of accounting maximum as the first color.
4. interface according to claim 2 icon color setting method, is characterized in that, described method also comprises: the edge of the icon adjacent with the precalculated position of described the first icon is made as to described the 3rd color.
5. according to the interface icon color setting method described in claim 1~4 any one, it is characterized in that, the precalculated position of described the first icon is the designated edge of described the first icon;
The adjacent region, precalculated position of described and described the first icon refers to the preset range region of the background image adjacent with described the first icon.
6. an interface icon color setting device, is characterized in that, comprising:
Color acquisition module, for obtaining the first color of interface the first icon, and obtains the icon adjacent with the precalculated position of described the first icon or second color in region;
Color treatments module, for determining the precalculated position color of described the first icon according to described the first color and the second color.
7. device according to claim 6, it is characterized in that, described color treatments module comprises fusant module, for described the first color and the second color blend processing are obtained to the 3rd color, and precalculated position color using described the 3rd color as described the first icon.
8. device according to claim 6, is characterized in that, described color acquisition module comprises:
Analyze submodule, for analyzing the color distribution of described the first icon;
Chooser module, for according to described color distribution, selects the color of accounting maximum as the first color.
9. device according to claim 7, is characterized in that, described color treatments module is further used for the edge of the icon adjacent with the precalculated position of described the first icon to be made as described the 3rd color.
10. a terminal, described terminal comprises the device described in claim 6 to 9 any one.
CN201410305420.0A 2014-06-30 2014-06-30 interface icon color setting method, device and terminal Active CN104050004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410305420.0A CN104050004B (en) 2014-06-30 2014-06-30 interface icon color setting method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410305420.0A CN104050004B (en) 2014-06-30 2014-06-30 interface icon color setting method, device and terminal

Publications (2)

Publication Number Publication Date
CN104050004A true CN104050004A (en) 2014-09-17
CN104050004B CN104050004B (en) 2018-01-09

Family

ID=51502910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410305420.0A Active CN104050004B (en) 2014-06-30 2014-06-30 interface icon color setting method, device and terminal

Country Status (1)

Country Link
CN (1) CN104050004B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918098A (en) * 2015-06-10 2015-09-16 福州瑞芯微电子有限公司 Automatic color matching method, system and device in video playing interface
CN105653128A (en) * 2015-12-29 2016-06-08 厦门美图移动科技有限公司 Application icon generation method and device as well as mobile terminal
CN105677352A (en) * 2016-01-06 2016-06-15 北京小米移动软件有限公司 Setting method and device for application icon color
CN105786320A (en) * 2016-03-01 2016-07-20 深圳市茁壮网络股份有限公司 Icon display method and device and electronic equipment
CN106528161A (en) * 2016-11-18 2017-03-22 广州爱九游信息技术有限公司 Terminal equipment, page display processing device and method
WO2017166752A1 (en) * 2016-04-01 2017-10-05 乐视控股(北京)有限公司 Text color configuration method, apparatus, and electronic device
CN107544797A (en) * 2016-06-29 2018-01-05 达索系统公司 The generation of the color of the object shown on GUI
CN107678609A (en) * 2016-08-01 2018-02-09 中兴通讯股份有限公司 A kind of method and apparatus of interface display
CN114816169A (en) * 2022-06-29 2022-07-29 荣耀终端有限公司 Desktop icon display method and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307364A1 (en) * 2007-06-08 2008-12-11 Apple Inc. Visualization object receptacle
CN102129562A (en) * 2010-01-15 2011-07-20 富士通株式会社 Method and device for identifying icons
CN102272823A (en) * 2008-11-21 2011-12-07 兰德尔·里斯 Machine, program product, and computer-implemented method for file management, storage, and display
CN103324293A (en) * 2013-07-16 2013-09-25 锤子科技(北京)有限公司 Display control method and device of display interface of mobile terminal
CN103544004A (en) * 2013-08-01 2014-01-29 Tcl集团股份有限公司 Method and terminal for adjusting background color of icon according to color wheel
CN103885687A (en) * 2014-02-20 2014-06-25 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307364A1 (en) * 2007-06-08 2008-12-11 Apple Inc. Visualization object receptacle
CN102272823A (en) * 2008-11-21 2011-12-07 兰德尔·里斯 Machine, program product, and computer-implemented method for file management, storage, and display
CN102129562A (en) * 2010-01-15 2011-07-20 富士通株式会社 Method and device for identifying icons
CN103324293A (en) * 2013-07-16 2013-09-25 锤子科技(北京)有限公司 Display control method and device of display interface of mobile terminal
CN103544004A (en) * 2013-08-01 2014-01-29 Tcl集团股份有限公司 Method and terminal for adjusting background color of icon according to color wheel
CN103885687A (en) * 2014-02-20 2014-06-25 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918098A (en) * 2015-06-10 2015-09-16 福州瑞芯微电子有限公司 Automatic color matching method, system and device in video playing interface
CN105653128A (en) * 2015-12-29 2016-06-08 厦门美图移动科技有限公司 Application icon generation method and device as well as mobile terminal
CN105653128B (en) * 2015-12-29 2019-03-15 厦门美图移动科技有限公司 A kind of application icon generation method, device and mobile terminal
CN105677352A (en) * 2016-01-06 2016-06-15 北京小米移动软件有限公司 Setting method and device for application icon color
CN105677352B (en) * 2016-01-06 2020-03-17 北京小米移动软件有限公司 Method and device for setting application icon color
CN105786320A (en) * 2016-03-01 2016-07-20 深圳市茁壮网络股份有限公司 Icon display method and device and electronic equipment
WO2017166752A1 (en) * 2016-04-01 2017-10-05 乐视控股(北京)有限公司 Text color configuration method, apparatus, and electronic device
CN107544797A (en) * 2016-06-29 2018-01-05 达索系统公司 The generation of the color of the object shown on GUI
CN107678609A (en) * 2016-08-01 2018-02-09 中兴通讯股份有限公司 A kind of method and apparatus of interface display
CN106528161A (en) * 2016-11-18 2017-03-22 广州爱九游信息技术有限公司 Terminal equipment, page display processing device and method
CN106528161B (en) * 2016-11-18 2020-03-13 广州爱九游信息技术有限公司 Terminal device, page display processing device and method
CN114816169A (en) * 2022-06-29 2022-07-29 荣耀终端有限公司 Desktop icon display method and device and storage medium

Also Published As

Publication number Publication date
CN104050004B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104050004A (en) Method and device for setting colors of icons of interface and terminal
CN102508666B (en) Method and device for adjusting application prompt message in application program
CN103677640B (en) A kind of method and system of dummy keyboard self adaptation application theme
US9424799B2 (en) On-screen image adjustments
CN104850341B (en) A kind of application icon display methods of mobile terminal and mobile terminal
CN104915142B (en) It is a kind of to touch the method and smartwatch that screen dialing keyboard is realized
CN104598134A (en) Fingerprint operating method and system for mobile terminal
CN106610761A (en) Icon color adjusting method and device
WO2015067061A1 (en) Terminal and method for sorting applications
CN113132704B (en) Image processing method, device, terminal and storage medium
US20160202824A1 (en) Touch-control monitoring method for touchscreen and terminal
CN105159500A (en) Pressure display method and apparatus for touch screen
CN104267933A (en) Flashlight adjusting method
CN105260167A (en) Method and device for controlling terminal
CN104991767A (en) Information processing method and electronic equipment
CN104102427A (en) Mobile terminal, and method and device for shifting multiple icons of mobile terminal
CN104182175A (en) Touch screen terminal interface display method and device
CN105278863A (en) Time interval-based method for detecting and preventing misoperation, device and mobile terminal
CN105278862A (en) Light-sensation detection-based misoperation prevention method, device and mobile terminal
CN109683769A (en) A kind of application icon sequencing display processing method, mobile terminal and storage medium
CN105677200A (en) Mobile terminal control method and device and mobile terminal
CN106325836B (en) Window part processing method and device
CN104090711A (en) Base plate color display method and device for icon
CN104050455B (en) A kind of skin color detection method and system
CN103513864A (en) Method for controlling icon arrangement according to color recognition technology and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant