CN104050004B - interface icon color setting method, device and terminal - Google Patents

interface icon color setting method, device and terminal Download PDF

Info

Publication number
CN104050004B
CN104050004B CN201410305420.0A CN201410305420A CN104050004B CN 104050004 B CN104050004 B CN 104050004B CN 201410305420 A CN201410305420 A CN 201410305420A CN 104050004 B CN104050004 B CN 104050004B
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.)
Active
Application number
CN201410305420.0A
Other languages
Chinese (zh)
Other versions
CN104050004A (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 present invention is applied to communication technical field, there is provided a kind of interface icon color setting method, device and terminal, methods described include:Obtain the first color of the icon of interface first;Obtain second color in the icon adjacent with the precalculated position of first icon or region;The precalculated position color of first icon is determined according to first color and the second color.Whereby, the present invention can make interface icon mapping adjacent icon or the color in region, the color of rich interface icon, improve Consumer's Experience.

Description

Interface icon color setting method, device and terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of interface icon color setting method, device and terminal.
Background technology
With the development of the communication technology, various electronic installations have been widely used for living.The most frequently used terminal dress of people Put, generally with human-computer interaction interface, and there are a variety of interface icons.Although current terminal installation comparison is diversified, its Color pattern of interface icon etc. can not be changed once setting, be short of diversified color.
In summary, prior art there will naturally be inconvenience and defect in actual use, and it is therefore necessary to improved.
The content of the invention
For it is above-mentioned the defects of, it is an object of the invention to provide a kind of interface icon color setting method, device and end End, it can make interface icon mapping adjacent icon or the color in region, the color of rich interface icon, improve Consumer's Experience.
To achieve these goals, the present invention provides a kind of interface icon color setting method, and methods described includes:
Obtain the first color of the icon of interface first;
Obtain second color in the icon adjacent with the precalculated position of first icon or region;
The precalculated position color of first icon is determined according to first color and the second color.
It is described that institute is determined according to first color and the second color according to the interface icon color setting method of the present invention Stating the precalculated position color step of the first icon includes:
First color and the second color blend are handled to obtain the 3rd color, and using the 3rd color as described in The precalculated position color of first icon.
According to the present invention interface icon color setting method, it is described obtain the icon of interface first the first color the step of Including:
Analyze the distribution of color of first icon;
According to the distribution of color, the maximum color of accounting is selected as the first color.
According to the interface icon color setting method of the present invention, methods described also includes:Will be pre- with first icon The edge that adjacent icon is put in positioning is set to the 3rd color.
According to the interface icon color setting method of the present invention, the precalculated position of first icon is first icon Designated edge;
The region adjacent with the precalculated position of first icon refers to the background image adjacent with first icon Preset range region.
The present invention also provides a kind of interface icon color and sets device, including:
Color acquisition module, for obtaining the first color of the icon of interface first, and obtain pre- with first icon Second color in adjacent icon or region is put in positioning;
Color treatments module, for determining the precalculated position of first icon according to first color and the second color Color.
Device is set according to the interface icon color of the present invention, the color treatments module includes fusion submodule, is used for First color and the second color blend are handled to obtain the 3rd color, and using the 3rd color as first icon Precalculated position color.
Device is set according to the interface icon color of the present invention, the color acquisition module includes:
Submodule is analyzed, for analyzing the distribution of color of first icon;
Submodule is selected, for according to the distribution of color, selecting the maximum color of accounting as the first color.
Device is set according to the interface icon color of the present invention, the color treatments module is further used for described the The edge of the adjacent icon in the precalculated position of one icon is set to the 3rd color.
The present invention also provides a kind of terminal, and the terminal includes interface icon color provided by the invention and sets device.
The present invention further obtains the icon adjacent icon or the face in region by obtaining the domain color of a certain icon Colors, two kinds of colors are subjected to fusion treatment and obtain the 3rd color, and the fringe region color using the 3rd color as the icon, Interface icon is mapped surrounding adjacent icon or the color in region whereby, the color of rich interface icon, improve user's body Test.
Brief description of the drawings
The interface icon color that Fig. 1 is the present invention sets apparatus structure schematic diagram;
Fig. 2 is that the interface icon color of one embodiment of the invention sets apparatus structure schematic diagram;
Fig. 3 is that the interface icon color of one embodiment of the invention sets device interface schematic diagram;
Fig. 4 is that the interface icon color of one embodiment of the invention sets another interface schematic diagram of device;
Fig. 5 is that the interface icon color of one embodiment of the invention sets another interface schematic diagram of device;
Fig. 6 is the interface icon color setting method flow chart of one embodiment of the invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Referring to Fig. 1, the invention provides a kind of interface icon color to set device, and the device 100 is with user interface Device, such as the device 100 can be mobile phone, PDA (Personal Digital Assistant, personal digital assistant), The communication terminals such as tablet personal computer.Fig. 1 illustrate only structure related to the present invention, and described device 100 obtains including color Module 10 and color treatments module 20, wherein:
The color acquisition module 10 is used for the first color for obtaining the icon of interface first, and obtains and first icon The adjacent icon in precalculated position or region the second color.
Need what is illustrated, the first icon and non-device 100 a certain special icon, the present invention can be understood as device 100 Any icon on interface.And in embodiments of the invention, the precalculated position of the first icon preferably refers to specifying for the first icon Edge, such as, with reference to Fig. 3, any edge in the first icon A four, upper and lower, left and right edge.It is readily appreciated that, it is described The adjacent icon in first icon A precalculated position, the i.e. interface icon nearest away from a certain edge side of the first icon, such as icon B With icon C.The region that the precalculated position of first icon is adjacent refers to the predetermined of the background image adjacent with first icon Range areas, such as first area adjacent with the first icon A in Fig. 4 and second area.Preferably, user or system can roots Adjacent icon or region are selected according to default setting, to obtain the second color.
The color treatments module 20 is used to determine the pre- of first icon according to first color and the second color Color is put in positioning.
Device 100 can be carried out after getting the first color and the second color according to the colour of the first color and the second color Fusion treatment, the 3rd color is got whereby.With reference to Fig. 5, here it is assumed that the second color of adjacent icon is extracted, such as device 100 The first icon A the first color is extracted to be red, the second color of the icon B on the right side of the first icon is green, then at color Reason module 20 the red colour got and green colour fusion calculation can be got another color (yellow) colour as 3rd color, and the color in the precalculated position as the first icon A, are already mentioned above, the first icon A precalculated position Refer to the right hand edge of the first icon.That is, now the first icon A right hand edge can map yellow.Meanwhile the color treatments module is entered One step is used to the edge of the icon adjacent with the precalculated position of first icon being set to the 3rd color, it is possible to understand that , the color treatments module 20 of device 100 also has same processing procedure to icon B left hand edge, can also map yellow, referring to Icon A and B dash area in Fig. 5.
Likewise, for the first icon A other edges, similar process, such as the first icon A lower edge can also be made Adjacent icon C, its domain color are blueness, then the 3rd color after merging is fuchsin, now the first icon A lower edge and icon C upper rim can then map the color of fuchsin.
Need what is illustrated, if the first color is identical with the second color, color treatments need not be remake.Meanwhile Ge Getu Mark the mapping for new color and do not interfere with original domain color.If user or the first icon of Systematic selection A mapping ambient backgrounds Color (background image), then the color with processing mode same as described above, whereby rich interface icon, improve user's body Test.
In a specific embodiment of the invention, with reference to Fig. 2, color acquisition module 10 includes analysis submodule 11 and selection submodule Block 12, wherein:
Analysis submodule 11 is used for the distribution of color for analyzing first icon.The color of interface icon is not usually a variety of Color is formed, and analysis submodule 11 can be with the accounting distribution of analysis chart target distribution of color, i.e. a variety of colors species.Select submodule Block 12 is then used for according to the distribution of color, selects the maximum color of accounting as the first color.Analysis for the second color Acquisition is identical with the first color, therefore will not be repeated here.
Color treatments module 20 includes fusion submodule 21, for first color and the second color blend to be handled To the 3rd color, and the precalculated position color using the 3rd color as first icon.If the 3rd face got Color has denseer colour, and color treatments module 20 can also suitably adjust the colour, so as not to influenceing the original of icon There is color.
Present invention also offers a kind of terminal, the terminal includes interface icon color provided by the invention and sets device 100。
Referring to Fig. 6, the invention provides a kind of interface icon color setting method, and it can be by as shown in Figure 1 or 2 Device 100 realize that this method includes:
Step S601, obtain the first color of the icon of interface first.
First icon and non-device 100 a certain special icon, the present invention can be understood as any on the interface of device 100 Icon, the first described color are the domain color of the first icon.The color of interface icon is not usually that multiple color is formed, device 100 can be with the accounting distribution of analysis chart target distribution of color, i.e. a variety of colors species.According to the distribution of color, accounting is selected Maximum color is as the first color.
Step S602, obtain second color in the icon adjacent with the precalculated position of the first icon or region.
The precalculated position of first icon preferably refers to the designated edge of the first icon, such as, with reference to Fig. 3, the first icon A's Any edge in the edge of four, upper and lower, left and right.It is readily appreciated that, the adjacent icon in the precalculated position of the first icon A, That is the interface icon nearest away from a certain edge side of the first icon, such as icon B and icon C.The precalculated position of first icon Adjacent region refers to the preset range region of the background image adjacent with first icon, as adjacent with the first icon A in Fig. 4 First area and second area.Preferably, user or system can select adjacent icon or region according to default setting, To obtain the second color.
Step S603, the precalculated position color of first icon is determined according to first color and the second color.
Device 100 can be carried out after getting the first color and the second color according to the colour of the first color and the second color Fusion treatment, the 3rd color is got whereby.With reference to Fig. 5, here it is assumed that the second color of extraction adjacent icon, such as electronic installation 100 extract the first icon A the first colors to be red, and the second color of the icon B on the right side of the first icon is green, then color Processing module 20 can get the red colour got and green colour fusion calculation another color (yellow) colour, and As the color in the first icon A precalculated position, it is already mentioned above, the first icon A precalculated position refers to the first icon Right hand edge.That is, now the first icon A right hand edge can map yellow.
It should be appreciated that the edge of the icon adjacent with the precalculated position of the first icon can be set to the 3rd face by the present invention Color, such as icon B left hand edge also have same processing procedure, map the 3rd color.When a certain surface chart mark of the present invention Put and change, or change background image, can the new periphery color of automatic mapping.
In summary, the present invention is by obtaining the domain color of a certain icon, and further obtain the icon adjacent icon or The color in region, two kinds of colors are subjected to fusion treatment and obtain the 3rd color, and the edge that the 3rd color is floatd as the figure Field color, interface icon is mapped surrounding adjacent icon or the color in region whereby, the color of rich interface icon, carry High Consumer's Experience.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence Know those skilled in the art when can be made according to the present invention it is various it is corresponding change and deformation, but these corresponding change and become Shape should all belong to the protection domain of appended claims of the invention.

Claims (8)

1. a kind of interface icon color setting method, it is characterised in that methods described includes:
Obtain the first color of the icon of interface first;
Obtain second color in the icon adjacent with the precalculated position of first icon or region;
The precalculated position color of first icon is determined according to first color and the second color;
It is described to determine that the precalculated position color step of first icon includes according to first color and the second color:
First color and the second color blend are handled to obtain the 3rd color, and using the 3rd color as described first The precalculated position color of icon.
2. interface icon color setting method according to claim 1, it is characterised in that the acquisition icon of interface first The first color the step of include:
Analyze the distribution of color of first icon;
According to the distribution of color, the maximum color of accounting is selected as the first color.
3. interface icon color setting method according to claim 1, it is characterised in that methods described also includes:Will be with The edge of the adjacent icon in the precalculated position of first icon is set to the 3rd color.
4. the interface icon color setting method according to any one of claims 1 to 3, it is characterised in that first figure Target precalculated position is the designated edge of first icon;
The region adjacent with the precalculated position of first icon refers to the pre- of the background image adjacent with first icon Determine range areas.
5. a kind of interface icon color sets device, it is characterised in that including:
Color acquisition module, for obtaining the first color of the icon of interface first, and obtain the pre-determined bit with first icon Put second color in adjacent icon or region;
Color treatments module, for determining the precalculated position face of first icon according to first color and the second color Color;
The color treatments module includes fusion submodule, for handling to obtain the by first color and the second color blend Three colors, and the precalculated position color using the 3rd color as first icon.
6. device according to claim 5, it is characterised in that the color acquisition module includes:
Submodule is analyzed, for analyzing the distribution of color of first icon;
Submodule is selected, for according to the distribution of color, selecting the maximum color of accounting as the first color.
7. device according to claim 5, it is characterised in that the color treatments module is further used for described The edge of the adjacent icon in the precalculated position of one icon is set to the 3rd color.
8. a kind of terminal, the terminal includes the device described in any one of claim 5 to 7.
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 CN104050004A (en) 2014-09-17
CN104050004B true 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)

Families Citing this family (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
CN105653128B (en) * 2015-12-29 2019-03-15 厦门美图移动科技有限公司 A kind of application icon generation method, device and mobile terminal
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
CN105912321A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Word color setting method and device
EP3264251B1 (en) * 2016-06-29 2019-09-04 Dassault Systèmes Generation of a color of an object displayed on a gui
CN107678609A (en) * 2016-08-01 2018-02-09 中兴通讯股份有限公司 A kind of method and apparatus of interface display
CN106528161B (en) * 2016-11-18 2020-03-13 广州爱九游信息技术有限公司 Terminal device, page display processing device and method
CN114816169B (en) * 2022-06-29 2022-11-04 荣耀终端有限公司 Desktop icon display method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9086785B2 (en) * 2007-06-08 2015-07-21 Apple Inc. Visualization object receptacle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104050004A (en) 2014-09-17

Similar Documents

Publication Publication Date Title
CN104050004B (en) interface icon color setting method, device and terminal
US9424799B2 (en) On-screen image adjustments
US9552656B2 (en) Image-based color palette generation
US9396560B2 (en) Image-based color palette generation
WO2017157109A1 (en) Image processing method and terminal
CN105955733B (en) A kind of method, apparatus and mobile terminal for modifying icon
EP2930591A2 (en) Intelligent terminal with built-in screenshot function and implementation method thereof
CN103092597A (en) Method for displaying background wallpaper and one or more user interface elements on display unit of electrical apparatus at the same time, and the electrical apparatus thereof
CN106462572A (en) Techniques for distributed optical character recognition and distributed machine language translation
CN103677640A (en) Virtual keyboard self-adaptation application theme method and system
CN106201212A (en) Generation method, device and the mobile terminal of a kind of application icon
CN104267933A (en) Flashlight adjusting method
WO2016107229A1 (en) Icon displaying method and device, and computer storage medium
CN104766354B (en) The method and mobile terminal that a kind of augmented reality is drawn
CN104571871A (en) Method and system for selecting files
CN106200942A (en) Information processing method and electronic equipment
CN105278862A (en) Light-sensation detection-based misoperation prevention method, device and mobile terminal
CN105488381A (en) Color block sliding based mobile terminal unlocking method and system
CN104657056A (en) Theme color adjustment method
CN104598102A (en) Method for distinguishing application use priority
WO2017152848A1 (en) Method and apparatus for editing person's facial model
CN106126057A (en) A kind of screenshot method, device and terminal unit
JP2016081319A (en) Edition support device for image material, album creation method and program for layout
CN106055229B (en) Display interface adjusting method and display interface adjusting module based on screen reading
CN106933440B (en) Terminal operation method and device and terminal

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