CN107422937A - Method, device, equipment and storage medium for taking color on graphical user interface - Google Patents
Method, device, equipment and storage medium for taking color on graphical user interface Download PDFInfo
- Publication number
- CN107422937A CN107422937A CN201710253761.1A CN201710253761A CN107422937A CN 107422937 A CN107422937 A CN 107422937A CN 201710253761 A CN201710253761 A CN 201710253761A CN 107422937 A CN107422937 A CN 107422937A
- Authority
- CN
- China
- Prior art keywords
- color
- colour
- circle
- user interface
- aim
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 239000003086 colorant Substances 0.000 claims abstract description 80
- 238000009826 distribution Methods 0.000 claims abstract description 19
- 230000015654 memory Effects 0.000 claims description 17
- 238000012790 confirmation Methods 0.000 claims description 10
- 238000004519 manufacturing process Methods 0.000 claims description 2
- 230000008859 change Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 239000003550 marker Substances 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009472 formulation Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000011282 treatment Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides a method, a device, equipment and a storage medium for taking color on a graphical user interface, which are characterized in that a first color selected by a user from a color list area on the graphical user interface or a default color of a system is received as a source color; receiving a second color selected by a user from a color list area on the graphical user interface as a target color; generating a plurality of mixed colors from the source color to the target color based on the source color and the target color; displaying the source color, the target color, and the plurality of mixed color distributions in a color circle of the graphical user interface; and receiving the color selected by the user on the color ring, wherein the selected color is used for determining the color of the handwriting. Based on the mixed color between the two colors, the display of abundant alternative colors and colors is realized, and a user can quickly and intuitively select the colors on the color circle.
Description
Technical field
The present invention relates to color treatments field, more particularly to a kind of the method, apparatus of color is taken on a graphical user interface, is set
Standby and storage medium.
Background technology
Color selection is the basic function for the office software for being currently based on electronic display unit realization.Existing office software
Color selection have a various ways, such as provide color menu list, user passes through set color menu list and selects color;
The color selection based on RGB color model is provided, dragging corresponds respectively to R (Red, red), G (Gree, green), B to user manually
The color bar of (Blue, blue) is manually entered corresponding R, G, B color value so as to finally confirm color.
It is simple to operate by way of color menu list selects color, but color is excessively single, when the face for having complexity
During color demand, enough color selections or specific color selection can not be provided;Color choosing group based on RGB color model needs
User has sufficient understanding to RGB color model, and takes the inadequate quicklook of color.
The content of the invention
The embodiment of the present invention provides a kind of method, apparatus, equipment and storage medium for taking color on a graphical user interface, can
To realize that the color of abundant and quicklook is chosen.
First aspect provides a kind of method for taking color on a graphical user interface, including:
The first color or the face of system default that reception user selects from the colors list region on graphic user interface
Color is as source color;
The second color that reception user selects from the colors list region on graphic user interface is as aim colour;
Based on the source color and aim colour generation from the source color to multiple secondary colours the aim colour;
The distribution of the source color, aim colour and the multiple secondary colour is shown in the colour circle of the graphic user interface
In;
The color that user selects on the colour circle is received, the color of the selection is used for the color for determining written handwriting.
Second aspect provides a kind of device for taking color on a graphical user interface, including:
Source color confirmation unit, first selected for receiving user from the colors list region on graphic user interface
Color or the color of system default are as source color;
Color of object receiving unit, selected for receiving user from the colors list region on graphic user interface
Second colors are as aim colour;
Secondary colour generation unit, for being generated based on the source color and the aim colour from the source color to the mesh
Mark multiple secondary colours between color;
Color display unit, for the distribution of the source color, aim colour and the multiple secondary colour to be shown in into the figure
In the colour circle of shape user interface;
Color confirmation unit is taken, the color selected for receiving user on the colour circle, the color of the selection is used for really
Determine the color of written handwriting.
The third aspect uses a kind of computer equipment, including memory, processor and storage on a memory and can located
The computer program that runs on reason device, realize as previously described in graphic user interface during the computing device described program
On take the method for color.
Fourth aspect uses a kind of storage medium for including computer executable instructions, and the computer executable instructions exist
For performing the method for taking color on a graphical user interface as previously described when being performed by computer processor.
The embodiments of the invention provide a kind of method, apparatus, equipment and storage medium for taking color on a graphical user interface,
Made by the color for receiving the first color that user selects from the colors list region on graphic user interface or system default
For source color;The second color that reception user selects from the colors list region on graphic user interface is as aim colour;Base
In the source color and aim colour generation from the source color to multiple secondary colours the aim colour;By the source face
Color, aim colour and the distribution of the multiple secondary colour are shown in the colour circle of the graphic user interface;User is received in the color
The color selected on ring, the color of the selection are used for the color for determining written handwriting.Based on the secondary colour between two kinds of colors,
The display of abundant alternate color and color is realized, user can carry out color selection to quicklook on colour circle.
Brief description of the drawings
Fig. 1 is the flow chart for a kind of method that in the embodiment of the present invention one takes color on a graphical user interface;
Fig. 2A is the flow chart for a kind of method that in the embodiment of the present invention two takes color on a graphical user interface;
Fig. 2 B- Fig. 2 G are to take showing for graphic user interface during color in inventive embodiments two on a graphical user interface
It is intended to;
Fig. 3 is a kind of block diagram for the device that in the embodiment of the present invention three takes color on a graphical user interface;
Fig. 4 is a kind of hardware architecture diagram of computer equipment in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart for method for taking color on a graphical user interface that the embodiment of the present invention one provides, this reality
Apply example and be applicable to various words, the occasion of operation trace input, this method can be by provided in an embodiment of the present invention in figure
The device of color is taken in user interface to perform, the device can realize that the device can be integrated in by the way of software and/or hardware
In any equipment for receiving word or figure input, such as typical intelligent interaction flat board etc., as shown in figure 1, this method is specifically wrapped
Include:
Step S101, the first color or system that user selects from the colors list region on graphic user interface are received
The color of acquiescence is as source color.
Color scheme is taken in the present embodiment, optimized integration is two kinds of colors, and wherein the first color confirmed is referred to as source
Color.
Source color can be the color of system default.When user enters the graphic user interface for taking color, there is one kind
Color can be as the source color in two kinds of base colors.In general, the color of acquiescence is relatively common color, for example, it is black
Color, white, red etc..
Source color can also be that user selects to form from the colors list region on graphic user interface, can be specifically
In colors list region detection color selection operation, color selection operation is such as mouse-click, touch control operation.Colors list area
Multiple color is shown in domain, according to the color of position display corresponding to color selection operation, can confirm that and detect for the first time
The color of corresponding selection is as source color during color selection operation.
Step S102, the second color that reception user selects from the colors list region on graphic user interface is as mesh
Mark color.
The color for realizing second of confirmation in two kinds of base colors for taken in the present embodiment color scheme is aim colour.Aim colour
Need to be confirmed according to the operational order of user.Selection target color in the colors list region of user on a graphical user interface
Mode of operation and user confirm that the mode of operation of source color is identical, do not do repeat specification herein.
Step S103, based on source color and aim colour generation from source color to aim colour between multiple secondary colours.
Difference between two kinds of different colors can be based on color model with mathematical linguistics be depicted come.Based on mathematics language
Speech can confirm that color corresponding to multiple states from source color transition to aim colour, and these colors are defined as secondary colour.Such as
Based on RGB models, white is (255,255,255), and black is (0,0,0), then part has many mixing from white to black
Color, such as (100,100,100), (254,254,254).
Step S104:The distribution of source color, aim colour and multiple secondary colours is shown in the colour circle of graphic user interface.
More intuitively to embody the relation between source color, aim colour and secondary colour and helping user quickly to carry out color choosing
Take, source color, aim colour and secondary colour distribution are shown in the colour circle of graphic user interface.Specifically, source color and target
Color is shown in two diverse locations in colour circle, and the region between two positions is filled with secondary colour.The radius of colour circle is got over
Greatly, corresponding to being shown in a kind of color it is isogonal in the case of, displayable secondary colour is more, and the optional color of user is got over
It is more;In the case where the kind number of the color of display is constant, a kind of color show corresponding to area it is bigger, corresponding display is available for operating
Area it is bigger, the operation that user gets colors on colour circle is more convenient.
Step S105:The color that user selects on colour circle is received, the color of selection is used for the color for determining written handwriting.
The color that user selects on colour circle is received, specifically, takes color to operate in region detection corresponding to colour circle, such as
Mouse click or touch control operation or pull colour circle on the position for taking color marker finally to confirm, mouse-click behaviour
Position, the position of touch control operation or the color for the position correspondence for taking color marker finally to confirm for making to occur are user on colour circle
The color of selection.If it is confirmed that position be the geometry for possessing certain area, then with the geometric center pair of the geometry
The color of the color answered alternatively.The color of selection is defined as the color of ensuing written handwriting, naturally it is also possible to is each
The color of the word of kind character input method input.
In summary, the present embodiment selected by receiving user from the colors list region on graphic user interface
One color or the color of system default are as source color;User is received to select from the colors list region on graphic user interface
The second color as aim colour;Based on the source color and aim colour generation from the source color to the aim colour
Multiple secondary colours;The distribution of the source color, aim colour and the multiple secondary colour is shown in the graphic user interface
In colour circle;The color that user selects on the colour circle is received, the color of the selection is used for the color for determining written handwriting.Base
Secondary colour between two kinds of colors, realizes the display of abundant alternate color and color, and user can be fast on colour circle
Speed intuitively carries out color selection.
Embodiment two
Fig. 2A is a kind of flow chart for method for taking color on a graphical user interface that the embodiment of the present invention two provides.This reality
The schematic diagram for applying the graphic user interface in example with reference to Fig. 2 B- Fig. 2 G is described in detail.The method of the present embodiment includes:
Step S201, the first color or system that user selects from the colors list region on graphic user interface are received
The color of acquiescence is as source color.
Fig. 2 B are refer to, the whole region shown in Fig. 2 B is graphic user interface 100, is included in graphical user interfaces
Colors list region 110 and colour circle 120, multiple colors are shown in colors list region 110, take source color during color and
Aim colour can select from colors list region 110.Wherein colors list region 110 in other schematic diagrames no longer separately
Mark.In the scheme shown in Fig. 2 B, user takes the default color having as source color of system before color, and the source color is
It is shown in colour circle 120, takes color process to carry out subsequent operation by finger 200 by touch control operation, user in this programme.As
Interface is originated, has been had shown that in colour circle 120 and has taken color marker 121, while also had the color block that color is taken for implementing preview
122。
In another implementation, Fig. 2 F are specifically refer to, source color 111 can also be selected from colors list region
Select, equivalent to first time from colors list regional choice source color 111, for the second time from colors list regional choice aim colour 112.
Processing procedure after source color 111 and aim colour 112 confirm is identical with the subsequent treatment mode of previous validation testing, follow-up
Carry out Unified explication.
Step S202, the second color that reception user selects from the colors list region on graphic user interface is as mesh
Mark color.
Please continue to refer to Fig. 2 B, second color of the user from the colors list regional choice on graphic user interface is received
112, using the color as aim colour.For computer equipment, it simultaneously cannot be distinguished by black or red itself, and it recognizes face
Color is by corresponding color model, is stated after color is converted into mathematical linguistics, such as in RGB models, red table
It is shown as (255,0,0).The aim colour of user's selection is received, actually obtains user from the colors list on graphic user interface
Formulation corresponding to the second color selected in region, source color are also identical acquisition modes.
Step S203, based on source color and aim colour generation from source color to aim colour between multiple secondary colours.
Formulation based on the source color got and aim colour, between can generating from source color to aim colour
Multiple secondary colours.Specifically,Wherein Φ is source color position, target
The angle formed between color position and the colour circle center of circle, the angle that α is formed between current secondary colour, source color and the colour circle center of circle,
Institute CSecondary colour、CSource color、CAim colourThe respectively numeral expression of secondary colour, source color and aim colour.What is occurred in annular is regular
Change, can be indicated by angle.Generally speaking, the change of secondary colour is the result of RGB while change, in aforementioned schemes
In, RGB is each accomplished that linear change, in more complicated variation pattern, can also assign other changes respectively to RGB
Change mode, such as Geometrical change, to realize more rich change procedure.
Step S204, the distribution of source color, aim colour and multiple secondary colours is shown in the colour circle of graphic user interface.
After the confirmation of source color, aim colour and secondary colour, source color, aim colour and secondary colour distribution are shown in colour circle
In, now graphic user interface 100 as shown in Figure 2 C, completed by the operation in colors list region, source color, aim colour and mixing
Color is distributed in the circulation excessive variation showed in colour circle 120 between source color and aim colour, and the region of change is to mix
Color.Next, user can carry out taking color to grasp by finger 200 or other media for carrying out touch control operation on colour circle 120
Make.
In the scheme shown in Fig. 2 C, using the position of the source color as starting point, the source color is symmetrical with the colour circle center of circle
Position is the position of aim colour, and the secondary colour from the source color to the aim colour is uniformly shown on the colour circle.
In this layout type, the distribution of the secondary colour of source color clockwise and counterclockwise is symmetrical, is used
Family can be in any a part of secondary colour by taking color marker 121 to carry out taking color.The layout type of both sides is identical, and user can root
Carry out quickly taking color according to the operating habit of itself.
Or using the position of the source color as starting point, any position by summit of the colour circle center of circle more than 270 degree is
The position of aim colour, the secondary colour from the source color to the aim colour is uniformly shown on the colour circle.
In scheme shown in Fig. 2 G, source color and aim colour i.e. not it is same diametrically, where source color and aim colour
The angle of radius is α, 90 ° of α <.So 270 ° of the angle=360 °-α > of source color and aim colour on other direction.It is based on
The mode of secondary colour is generated in step S203, the difference between source color and aim colour can be carried out by the angle more than 270 °
It has been shown that, equivalent to the difference being exaggerated between source color and aim colour, user can get more accurate mixed in secondary colour
Color is closed, so as to which meet more users takes color requirement.
Step S205, according to the color of selection generation corresponding to color block real-time display in graphical user interfaces.
During color is taken because the region very little in colour circle shared by each color, user take color may not a step arrive
Position, the color of selection need real-time display to supply user's preview in graphical user interfaces, any position in graphic user interface
In the case where not influenceing other displays, settable color block, based in this programme by way of colour circle display color, choosing
The color selected carries out live preview in the central area of colour circle.Specifically, as shown in Figure 2 C, in the centrally disposed color block of colour circle
122, color block 122 can be circular, square or other shapes, but color block 122 separates with colour circle 120.Color process is being taken,
Color marker 121 is taken, either the color of mouse or touch control operation correspondence position is shown in color block 122, it is contemplated that takes colour code
Note 121 or touch control operation shape in itself and area, color take the color of its geometric center.
With the operation of the finger 200 of user, as shown in Fig. 2 D and Fig. 2 E, color marker 121 is taken to be sent out in the position of colour circle 120
Changing, the color currently selected change in real time, and corresponding change occurs for the color of color block 122.
Step S206, the color that user selects on colour circle is received, the color of selection is used for the color for determining written handwriting.
Color is that the color can be used to carry out hand-written, annotation, mark, set color of word inputted etc. after confirming.
Step S207, the color for selecting user on colour circle is preserved into the colors list region of graphic user interface.
In general, the color of user's selection is all still unsaved color in colors list region, the color chosen is such as
Fruit user can also quickly use after wishing, the color of selection can be saved in into colors list region.
Step S208, the color that reception user selects on colour circle is as the second source color;User is received from graphical user
The color selected in colors list region on interface is as the second aim colour;Generated based on the second source color and the second aim colour
It is shown in from the second source color to multiple secondary colours the second aim colour and distribution in the colour circle of graphic user interface.
In this programme, on the basis of aforementioned operation takes color, more color conducts can be further selected on colour circle
New source color and aim colour, equivalent to can constantly be segmented the difference between initial source color and aim colour.Example
Secondary colour (100,100,100) between (0,0,0) and (255,255,255) and (200,200,200) are such as taken respectively as source
Color (the second source color) and aim colour (the second aim colour), on same colour circle, (0,0,0) and (255,255,255) it
Between secondary colour may display impossible to exhaust, still the secondary colour between (100,100,100) and (200,200,200) can show
The ratio shown is bigger, is more accurately selected to user.If it is necessary, can (100,100,100) and (200,200,
200) two kinds of colors are taken to carry out more accurately display and choosing respectively as source color and aim colour in the secondary colour among in addition
Select.On this basis, the generation of secondary colour can also more be enriched, such as some color numeral in RGB is taken into source color
Equal difference changes between aim colour, and linear change is taken to two other numeral, obtains more abundant alternate color.
Embodiment three
Fig. 3 is a kind of block diagram for device for taking color on a graphical user interface that the embodiment of the present invention three provides.
As shown in figure 3, the device includes:
Source color confirmation unit 31, selected for receiving user from the colors list region on graphic user interface
One color or the color of system default are as source color;
Color of object receiving unit 32, selected from the colors list region on graphic user interface for receiving user
Second color is as aim colour;
Secondary colour generation unit 33, for based on the source color and aim colour generation from the source color to described
Multiple secondary colours between aim colour;
Color display unit 34, it is described for the distribution of the source color, aim colour and the multiple secondary colour to be shown in
In the colour circle of graphic user interface;
Color confirmation unit 35 is taken, the color selected for receiving user on the colour circle, the color of the selection is used for
Determine the color of written handwriting.
Wherein, the device, in addition to:
Take color real-time display unit, for according to the color of the selection generation corresponding to color block real-time display described
In graphic user interface.
Wherein, region of the color block real-time display in the colour circle according to corresponding to the generation of the color of the selection.
Wherein, the color display unit, specifically for the position using the source color as starting point, the source color is with color
Ring center symmetric position is the position of aim colour, and uniformly display is mixed from the source color to the aim colour on the colour circle
Close color.
Or the color display unit, specifically for the position using the source color as starting point, using the colour circle center of circle as
Any position of the summit more than 270 degree is the position of aim colour, is uniformly shown from the source color to described on the colour circle
The secondary colour of aim colour.
Wherein, the device, in addition to:
Second color display unit, for receiving color that user selects on the colour circle as the second source color;Connect
The color that receipts user selects from the colors list region on graphic user interface is as the second aim colour;Based on second source
Color and second aim colour generation to multiple secondary colours second aim colour and are distributed from second source color
It is shown in the colour circle of the graphic user interface.
Wherein, the device, in addition to:
Color storage unit, the color for user to be selected on the colour circle are preserved to the graphic user interface
In colors list region.
Wherein, the secondary colour production unit, specifically for passing throughGeneration
The angle that secondary colour, wherein Φ are formed between source color position, aim colour position and the colour circle center of circle, α are current mixed
Close the angle formed between color, source color and the colour circle center of circle, institute CSecondary colour、CSource color、CAim colourRespectively secondary colour, source color and aim colour
Numeral expression.
The device of color is taken to be used to perform scheming described in the various embodiments described above described in the present embodiment on a graphical user interface
The method that color is taken in shape user interface, its technical principle is similar with caused technique effect, repeats no more here.
Example IV
Fig. 4 is a kind of hardware architecture diagram for computer equipment that the embodiment of the present invention four provides, as shown in figure 4, this
The conference terminal that inventive embodiments four provide, including one or more processors 40;
Memory 41, for storing one or more programs.Such as mouse of input unit 42 of the computer equipment, touch
Screen;Such as LCDs of output device 43.The interaction of user and the computer equipment passes through input unit 42 and output device
43 realize that input unit 42 and output device 43 can be integrated into touch display screen.Real available data connection between each equipment,
Such as touch display screen is connected with processor 40 and memory 41 respectively by bus or other means, and processor 40 and storage
Device 41 connects also by bus or other means, and the computer equipment can also further include the network equipment, by with it is other in terms of
Machine equipment is calculated to carry out data transmission.In Fig. 4, it is attached with bus, the number of processor 40 is 1.
Memory 41 in the computer equipment is used as a kind of computer-readable recording medium, available for storage one or more
Individual program, described program can be software program, computer executable program and module, as meeting is remembered in the embodiment of the present invention
Programmed instruction/module (for example, taking in the device of color shown in accompanying drawing 3 on a graphical user interface corresponding to the shared method of record
Module, including:Source color confirmation unit 31, color of object receiving unit 32, secondary colour generation unit 33, color display unit
34 and take color confirmation unit 35).Processor 40 is stored in software program, instruction and module in memory 41 by operation,
So as to perform the various function application of computer equipment and data processing, that is, realize being used in figure in above method embodiment
The method that color is taken on the interface of family.
Memory 41 may include storing program area and storage data field, wherein, storing program area can storage program area, extremely
Application program needed for few One function;Storage data field can store uses created data etc. according to equipment.In addition, deposit
Reservoir 41 can include high-speed random access memory, can also include nonvolatile memory, and a for example, at least disk is deposited
Memory device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 41 can further comprise
Relative to the remotely located memory of processor 40, these remote memories can pass through network connection to equipment.Above-mentioned network
Example include but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Also, when one or more program included by above-mentioned conference terminal is held by one or more of processors 40
During row, program proceeds as follows:
The first color or the face of system default that reception user selects from the colors list region on graphic user interface
Color is as source color;The second color that reception user selects from the colors list region on graphic user interface is as target
Color;Multiple secondary colours between being generated based on source color and aim colour from source color to aim colour;By source color, aim colour and multiple
Secondary colour distribution is shown in the colour circle of graphic user interface;The color that user selects on colour circle is received, the color of selection is used
In it is determined that the color of written handwriting.
In addition, the embodiment of the present invention also provides a kind of computer-readable recording medium, computer program is stored thereon with, should
Program controlled device realizes that what the embodiment of the present invention one or embodiment two provided takes color on a graphical user interface when performing
Method, this method include:Receive the first color or system that user selects from the colors list region on graphic user interface
The color of acquiescence is as source color;The second color that user selects from the colors list region on graphic user interface is received to make
For aim colour;Multiple secondary colours between being generated based on source color and aim colour from source color to aim colour;By source color, aim colour
It is shown in the distribution of multiple secondary colours in the colour circle of graphic user interface;The color that user selects on colour circle is received, selection
Color is used for the color for determining written handwriting.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to realized by hardware, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words
Part can be embodied in the form of software product, and the computer software product can be stored in computer-readable recording medium
In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are causing a computer to set
Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (18)
- A kind of 1. method for taking color on a graphical user interface, it is characterised in that including:The first color or the color of system default that reception user selects from the colors list region on graphic user interface are made For source color;The second color that reception user selects from the colors list region on graphic user interface is as aim colour;Based on the source color and aim colour generation from the source color to multiple secondary colours the aim colour;The distribution of the source color, aim colour and the multiple secondary colour is shown in the colour circle of the graphic user interface;The color that user selects on the colour circle is received, the color of the selection is used for the color for determining written handwriting.
- 2. according to the method for claim 1, it is characterised in that methods described, in addition to:According to color block real-time display corresponding to the generation of the color of the selection in the graphic user interface.
- 3. according to the method for claim 2, it is characterised in that real according to color block corresponding to the generation of the color of the selection When be shown in region in the colour circle.
- 4. method according to claim 1 or 2, it is characterised in that described by the source color, aim colour and the multiple Secondary colour distribution is shown in the colour circle of the graphic user interface, is specially:Using the position of the source color as starting point, position of the source color using colour circle center of circle symmetric position as aim colour, in institute State the secondary colour uniformly shown on colour circle from the source color to the aim colour.
- 5. method according to claim 1 or 2, it is characterised in that described by the source color, aim colour and the multiple Secondary colour distribution is shown in the colour circle of the graphic user interface, is specially:It is position of any position of the summit more than 270 degree as aim colour using the colour circle center of circle using the position of the source color as starting point Put, the secondary colour from the source color to the aim colour is uniformly shown on the colour circle.
- 6. method according to claim 1 or 2, it is characterised in that methods described, in addition to:The color that reception user selects on the colour circle is as the second source color;User is received from the face on graphic user interface The color selected in the swatch color list region is as the second aim colour;Based on second source color and second aim colour generation from Second source color is shown in the color of the graphic user interface to multiple secondary colours between second aim colour and distribution In ring.
- 7. method according to claim 1 or 2, it is characterised in that methods described, in addition to:The color that user selects on the colour circle is preserved into the colors list region of the graphic user interface.
- 8. method according to claim 1 or 2, it is characterised in that based on the source color and the aim colour generation from The source color is to the step of multiple secondary colours between the aim colour:Wherein Φ is source color position, aim colour position and colour circle The angle formed between the center of circle, the angle that α is formed between current secondary colour, source color and the colour circle center of circle, institute CSecondary colour、CSource color、CAim colour The respectively numeral expression of secondary colour, source color and aim colour.
- A kind of 9. device for taking color on a graphical user interface, it is characterised in that including:Source color confirmation unit, the first color selected for receiving user from the colors list region on graphic user interface Or the color of system default is as source color;Color of object receiving unit, the second face selected for receiving user from the colors list region on graphic user interface Color is as aim colour;Secondary colour generation unit, for being generated based on the source color and the aim colour from the source color to the aim colour Between multiple secondary colours;Color display unit, used for the distribution of the source color, aim colour and the multiple secondary colour to be shown in into the figure In the colour circle at family interface;Color confirmation unit is taken, the color selected for receiving user on the colour circle, the color of the selection is used to determine book Write the color of person's handwriting.
- 10. device according to claim 9, it is characterised in that also include:Take color real-time display unit, for according to the color of the selection generation corresponding to color block real-time display in the figure In user interface.
- 11. device according to claim 10, it is characterised in that according to color block corresponding to the generation of the color of the selection Region of the real-time display in the colour circle.
- 12. the device according to claim 9 or 10, it is characterised in that the color display unit, specifically for described The position of source color is starting point, and position of the source color using colour circle center of circle symmetric position as aim colour is equal on the colour circle Secondary colour of the even display from the source color to the aim colour.
- 13. the device according to claim 9 or 10, it is characterised in that the color display unit, specifically for described The position of source color is starting point, is position of any position of the summit more than 270 degree as aim colour using the colour circle center of circle, in the color The secondary colour from the source color to the aim colour is uniformly shown on ring.
- 14. the device according to claim 9 or 10, it is characterised in that also include:Second color display unit, for receiving color that user selects on the colour circle as the second source color;Receive and use The color that family selects from the colors list region on graphic user interface is as the second aim colour;Based on second source color And the second aim colour generation to multiple secondary colours second aim colour and is distributed display from second source color In the colour circle of the graphic user interface.
- 15. the device according to claim 9 or 10, it is characterised in that also include:Color storage unit, the color for user to be selected on the colour circle are preserved to the color of the graphic user interface In list area.
- 16. the method according to claim 9 or 10, it is characterised in that the secondary colour production unit, specifically for passing throughSecondary colour is generated, wherein Φ is source color position, aim colour position The angle formed between the colour circle center of circle, the angle that α is formed between current secondary colour, source color and the colour circle center of circle, institute CSecondary colour、 CSource color、CAim colourThe respectively numeral expression of secondary colour, source color and aim colour.
- 17. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realize during the computing device described program and scheming as described in any in claim 1-8 The method that color is taken in shape user interface.
- A kind of 18. storage medium for including computer executable instructions, it is characterised in that the computer executable instructions by For performing the side for taking color on a graphical user interface as described in any in claim 1-8 when computer processor performs Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710253761.1A CN107422937A (en) | 2017-04-18 | 2017-04-18 | Method, device, equipment and storage medium for taking color on graphical user interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710253761.1A CN107422937A (en) | 2017-04-18 | 2017-04-18 | Method, device, equipment and storage medium for taking color on graphical user interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107422937A true CN107422937A (en) | 2017-12-01 |
Family
ID=60423770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710253761.1A Pending CN107422937A (en) | 2017-04-18 | 2017-04-18 | Method, device, equipment and storage medium for taking color on graphical user interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107422937A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019104717A1 (en) * | 2017-12-01 | 2019-06-06 | 深圳市柔宇科技有限公司 | Method for selecting handwriting input tool, mobile terminal, and storage medium |
CN110069646A (en) * | 2019-03-15 | 2019-07-30 | 杭州电子科技大学 | A kind of color visual representation method of Chinese painting color character |
CN111803931A (en) * | 2020-07-21 | 2020-10-23 | 网易(杭州)网络有限公司 | Virtual object color determination method, device, equipment and storage medium |
CN112381905A (en) * | 2020-12-01 | 2021-02-19 | 北京光启元数字科技有限公司 | Color superposition method and device and electronic equipment |
CN113946262A (en) * | 2020-07-15 | 2022-01-18 | 中移(苏州)软件技术有限公司 | Color taking method and device and storage medium |
WO2022223354A1 (en) * | 2021-04-19 | 2022-10-27 | Signify Holding B.V. | Systems and methods for interactive color selection with dynamic color changing leds |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008038179A2 (en) * | 2006-09-27 | 2008-04-03 | Koninklijke Philips Electronics N. V. | Color selection input device and method |
CN102047293A (en) * | 2008-04-21 | 2011-05-04 | 威仕达品特技术有限公司 | System and method for automatically generating color scheme variations |
CN104639924A (en) * | 2015-03-03 | 2015-05-20 | 中山大学花都产业科技研究院 | Method for reducing degree of dependence on device pixel to improve color value precision |
-
2017
- 2017-04-18 CN CN201710253761.1A patent/CN107422937A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008038179A2 (en) * | 2006-09-27 | 2008-04-03 | Koninklijke Philips Electronics N. V. | Color selection input device and method |
CN101518156A (en) * | 2006-09-27 | 2009-08-26 | 皇家飞利浦电子股份有限公司 | Color selection input device and method |
CN102047293A (en) * | 2008-04-21 | 2011-05-04 | 威仕达品特技术有限公司 | System and method for automatically generating color scheme variations |
CN104639924A (en) * | 2015-03-03 | 2015-05-20 | 中山大学花都产业科技研究院 | Method for reducing degree of dependence on device pixel to improve color value precision |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019104717A1 (en) * | 2017-12-01 | 2019-06-06 | 深圳市柔宇科技有限公司 | Method for selecting handwriting input tool, mobile terminal, and storage medium |
CN110069646A (en) * | 2019-03-15 | 2019-07-30 | 杭州电子科技大学 | A kind of color visual representation method of Chinese painting color character |
CN110069646B (en) * | 2019-03-15 | 2021-03-30 | 杭州电子科技大学 | Color visual expression method for Chinese painting color characteristics |
CN113946262A (en) * | 2020-07-15 | 2022-01-18 | 中移(苏州)软件技术有限公司 | Color taking method and device and storage medium |
CN113946262B (en) * | 2020-07-15 | 2024-04-09 | 中移(苏州)软件技术有限公司 | Color taking method and device and storage medium |
CN111803931A (en) * | 2020-07-21 | 2020-10-23 | 网易(杭州)网络有限公司 | Virtual object color determination method, device, equipment and storage medium |
CN111803931B (en) * | 2020-07-21 | 2024-02-09 | 网易(杭州)网络有限公司 | Virtual object color determining method, device, equipment and storage medium |
CN112381905A (en) * | 2020-12-01 | 2021-02-19 | 北京光启元数字科技有限公司 | Color superposition method and device and electronic equipment |
WO2022223354A1 (en) * | 2021-04-19 | 2022-10-27 | Signify Holding B.V. | Systems and methods for interactive color selection with dynamic color changing leds |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107422937A (en) | Method, device, equipment and storage medium for taking color on graphical user interface | |
US10795529B2 (en) | Permitting participant configurable view selection within a screen sharing session | |
US9167009B2 (en) | Presenting data to electronic meeting participants | |
US20150350443A1 (en) | System and method for managing interaction flow for contact centers | |
US20150121189A1 (en) | Systems and Methods for Creating and Displaying Multi-Slide Presentations | |
US20150121232A1 (en) | Systems and Methods for Creating and Displaying Multi-Slide Presentations | |
US10649618B2 (en) | System and method for creating visual representation of data based on generated glyphs | |
CN107844953B (en) | Conference file management method, device, terminal and computer readable storage medium | |
US8421816B1 (en) | Selection of colors | |
US11934647B2 (en) | Utilizing modularized action blocks in a graphical user interface to generate digital images with custom modifications | |
US11733973B2 (en) | Interactive graphic design system to enable creation and use of variant component sets for interactive objects | |
US20160132594A1 (en) | Social co-creation of musical content | |
US10078503B2 (en) | Method for creating prototype | |
US20180089905A1 (en) | Visualisation and navigation of transmedia content data | |
US20190317719A1 (en) | Setting up multiple displays via user input | |
CN107943363A (en) | Background image configuration method and device, interactive intelligent panel and storage medium | |
US20170315704A1 (en) | Application user interfaces with scrollable color palettes | |
CN105117404B (en) | Based on the chart display defect optimization method under subtype and data feature scene | |
CN110020525A (en) | Authority configuring method, device, computer equipment and the storage medium of Kubernetes platform | |
US20140282090A1 (en) | Displaying Image Information from a Plurality of Devices | |
JP2022540889A (en) | Apparatus and method for coloring sketch image | |
CN110333810A (en) | Applied to the information displaying method of electronic equipment, device, medium and calculate equipment | |
CN112449232A (en) | Interface display scheme generation method, device, equipment and storage medium | |
US10331726B2 (en) | Rendering and interacting with transmedia content data | |
US20190018504A1 (en) | Computer system allowing multiple users to concurrently use with single main computer and operation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171201 |
|
RJ01 | Rejection of invention patent application after publication |