CN113986175A - Color selection method and device, electronic equipment and readable medium - Google Patents

Color selection method and device, electronic equipment and readable medium Download PDF

Info

Publication number
CN113986175A
CN113986175A CN202111274365.XA CN202111274365A CN113986175A CN 113986175 A CN113986175 A CN 113986175A CN 202111274365 A CN202111274365 A CN 202111274365A CN 113986175 A CN113986175 A CN 113986175A
Authority
CN
China
Prior art keywords
color
parameter
adjustment
target
selection
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
Application number
CN202111274365.XA
Other languages
Chinese (zh)
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.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Beijing Guangqiyuan Digital Technology 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 Beijing Guangqiyuan Digital Technology Co ltd filed Critical Beijing Guangqiyuan Digital Technology Co ltd
Priority to CN202111274365.XA priority Critical patent/CN113986175A/en
Publication of CN113986175A publication Critical patent/CN113986175A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the specification discloses a color selection method, a color selection device, color selection equipment and a computer readable medium. The color selection method receives a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter; determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface; receiving the adjustment operation of a user in the area where the target color is located; adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter; and taking the adjusted target color as the selected color of the user.

Description

Color selection method and device, electronic equipment and readable medium
Technical Field
The present application relates to the field of computers, and in particular, to a color selection method, apparatus, electronic device, and computer readable medium.
Background
In many mobile phone software (apps) of mobile phones, particularly in apps of image editing type and the like, tools capable of selecting colors, such as color palettes, are provided, and a user can select a desired color based on the color palettes and the like.
The color mode is divided into multiple modes, such as RGB, CMYK, etc., in the HSB mode, H represents hue, S represents saturation, B represents brightness, and the medium corresponding to the HSB mode is human eyes, where the higher the values presented by S and B, the higher the saturation brightness, and the strong and bright page color.
In the prior art, for color selection in the HSB mode, a dragging bar is usually used to select a color level, and then saturation and brightness are further adjusted. Such an operation is too cumbersome for the user.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a color selection method, apparatus, device and computer readable medium to improve efficiency of selecting a color in a mobile app for a user.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
the color selection method provided by the embodiment of the specification comprises the following steps:
receiving a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
receiving the adjustment operation of a user in the area where the target color is located;
adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; and when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter.
The color selecting device provided by the embodiment of the specification comprises:
the first receiving device is used for receiving the selection operation of a user on the color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
the determining device is used for determining a target color corresponding to the selecting operation in the color selecting interface and displaying the target color on a color display interface;
the second receiving device is used for receiving the adjustment operation of the user in the area where the target color is located;
the adjusting device is used for adjusting a third color parameter of the target color according to the adjusting operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; and when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter.
The page building device including the target component provided by the embodiment of the specification comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
receiving the adjustment operation of a user in the area where the target color is located;
adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; and when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter.
A computer-readable medium provided in this specification is a medium on which computer-readable instructions are stored, and the computer-readable instructions are executable by a processor to implement a color selection method provided in this specification.
One embodiment of the present description can achieve at least the following advantages: through the selection operation and the adjustment operation of the user, various parameters of the color selected by the user can be quickly selected and adjusted, the user is not required to adjust each color parameter of the color step by step, and the color selection efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flow chart of a color selection method provided in an embodiment of the present disclosure;
FIG. 2 is a schematic interface diagram of a color selection method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a third color parameter for adjusting a target color in a color selection method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a color selecting device corresponding to FIG. 1 according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device corresponding to fig. 2 provided in an embodiment of the present disclosure.
Detailed Description
Color selection is a function that is found in many cell phone APPs. The mobile phone APP can adopt modes such as a color palette, a color matching diagram or a label bar with input parameters, so that a user can select or define colors.
Especially for the color in the HSB mode, the current common way is to drag the saturation selection bar to select the saturation after dragging the hue selection bar to select the hue, and finally drag the brightness selection bar to adjust the brightness. However, in this manner, it is easy for the mobile phone app to malfunction or operate inaccurately.
In view of this, the color selection method provided by the embodiment of the present invention can complete the selection of the HSB mode color based on the operation of the user, thereby improving the selection efficiency and the selection precision.
To make the objects, technical solutions and advantages of one or more embodiments of the present disclosure more apparent, the technical solutions of one or more embodiments of the present disclosure will be described in detail and completely with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given herein without making any creative effort fall within the protection scope of one or more embodiments of the present disclosure.
It is to be understood that, although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a color selection method provided in an embodiment of the present disclosure.
Fig. 2 is an interface schematic diagram of a color selection method according to an embodiment of the present invention.
In fig. 2, the color selection interface 202 may include a plurality of target colors, such as a color 2021, a color 2022, a color 2023, a color 2024, a color 2025, and the like, where each color is generated by using a hue parameter and a brightness parameter, or a hue parameter and a saturation parameter. Thus, although only line-based distinction is made, based on the example, each color may be gradual in nature according to a different hue and brightness or saturation. In the color display interface 201, only a predetermined color or no color may be displayed by default. Of course, the color selection interface may also be a palette or other means.
See fig. 1 and 2.
The embodiment of the invention discloses a color selection method, which comprises the following steps:
s100, receiving selection operation of a user on a color selection interface 202; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
in the embodiment of the invention, the color selection method mainly aims at the color selection scene in the HSB mode, for example, the scene which needs to be subjected to color selection when a user uses a mobile terminal such as a mobile phone and a tablet. In the embodiment of the invention, when the color of the HSB mode needs to be selected, a color selection interface is arranged. Wherein, a plurality of colors can be displayed in the color selection interface. The plurality of colors may be generated based on the first color parameter and the second color parameter. The first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter.
The hue parameters may characterize a pure color, i.e., a single color that constitutes the visible spectrum. It may be a full-chrominance map in RGB mode.
The saturation parameter may represent the purity of the color, which is gray when zero. None of the white, black and other gray-scale colors is saturated. The maximum saturation is the purest color of each hue.
The brightness parameter may refer to the brightness of the color, and when the brightness is zero, the color is black. The maximum brightness is the state of the brightest color.
In the embodiment of the invention, the color in the color selection interface is obtained according to two parameters, which can be a hue parameter and a brightness parameter, and can also be a hue parameter and a saturation parameter. Settings can be made in the settings tab of the interface according to the needs of the user.
In the embodiment of the invention, the user can execute the selection operation in the color selection interface according to the actual requirement of the user. Specifically, the operation may be an operation of clicking with a finger, an operation of double clicking, or the like. When the selection operation sent by the user is received, the specific coordinate position of the finger or other operation object of the user in the color selection interface can be obtained.
The embodiment of the invention can establish the coordinate position corresponding to each color in the generated color interface.
S101, determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
in the embodiment of the invention, after the selection operation of the user is obtained, the target color in the selection interface can be determined according to the specific coordinate position of the selection operation. The target color may be presented in the color display interface 201. The size of the color display interface can be set according to actual needs, and the color display interface can only display the target color selected by the user through selection operation.
S102, receiving an adjusting operation of a user in an area where the target color is located;
in the embodiment of the invention, after the user selects the target color, the color with hue, brightness or hue and saturation is selected, and the color in the HSB mode needs three color parameters, so the user needs to further adjust the third color parameter. Therefore, when the target color is displayed in the color display interface, the user can further adjust the target color. Therefore, the adjustment operation is performed at the position of the target color.
The region where the target color is located may specifically include: and the color selection interface comprises a region in a preset range including the target color, or any region in the color display interface.
The area of the target color can be in the color selection interface or the color display interface.
After the user selects the target color, the selected identification is displayed in the target selection interface. The mark may be in the shape of a circle, a square or the like, and the user may further perform an adjustment operation in the position where the mark is displayed. Alternatively, the adjustment operation may be performed at any position in the color display interface.
As can be seen from fig. 2, after the user performs the selection operation by clicking 2021 in the color selection interface 202, the target color selected by the user is displayed in the color display interface 201.
S103, adjusting a third color parameter of the target color according to the adjusting operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; and when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter.
And when the user performs the adjustment operation, receiving the adjustment operation sent by the user, and adjusting the third color parameter of the target color according to the adjustment operation of the user. When the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; and when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter. Namely, different corresponding parameters are adjusted according to different generation modes of the colors in the color selection interface.
For example, increasing the brightness of the target color or decreasing the saturation of the target color, etc.
And S104, taking the adjusted target color as the selected color of the user.
Finally, when it is determined that the user adjustment is completed (for example, no other adjustment operation by the user is received within a predetermined time), the adjusted target color is determined to be the selected color of the user.
Therefore, in the embodiment of the invention, various parameters of the color selected by the user can be rapidly adjusted and selected through the selection operation and the adjustment operation of the user, the user is not required to adjust each color parameter of the color step by step, and the color selection efficiency is improved.
The foregoing embodiment describes the adjustment operation by the user, which is described in detail below.
In the embodiment of the present invention, the adjusting operation specifically includes: adjusting a trigger operation and adjusting an execution operation.
The adjusting the third color parameter of the target color according to the adjustment operation may specifically include:
outputting an adjustment prompt according to the adjustment triggering operation; the adjustment prompt is used for indicating that the user can continue to execute adjustment execution operation;
and adjusting a third color parameter of the target color according to the adjustment execution operation.
In the embodiment of the present invention, the adjusting operation may include an adjusting trigger operation and an adjusting execution operation. And the adjustment triggering operation is used for representing that the user adjusts the third color reference of the target color, and the adjustment executing operation is used for representing the process that the user adjusts the third color parameter of the target color. It is understood that the adjustment triggering operation and the adjustment executing operation can be regarded as an integral operation process.
In the embodiment of the invention, when the adjustment triggering operation of the user is detected, the adjustment prompt can be output. The adjustment triggering operation may include any one of long-time pressing operation, double-click operation, shaking operation, and clicking a preset button. More specifically, the adjustment triggering operation may be a long-time pressing operation of the user on the color adjustment interface, an operation of shaking the mobile phone, an operation of clicking a hardware button, or the like.
Then, the user performs an adjustment execution operation to achieve adjustment of the third color parameter of the target color.
Wherein the adjusting the third color parameter of the target color according to the adjustment execution operation may specifically include:
determining an adjustment direction and an adjustment distance corresponding to the adjustment execution operation;
adjusting the third color parameter based on the adjustment direction and the adjustment distance.
In the embodiment of the present invention, the third parameter of the target color may be adjusted, and the target adjustment parameter may be determined according to the adjustment direction and the adjustment distance corresponding to the adjustment execution operation.
For example, the adjustment direction is a first direction, the adjustment distance is a first distance, and the first direction may be a direction away from the color selection interface, and the first distance is, for example, 10 pixels. And determining target adjustment parameters according to the first direction and the first distance.
In this embodiment of the present invention, adjusting the third color parameter based on the adjustment direction and the adjustment distance may specifically include:
and determining a target parameter value of the third color parameter according to the adjusting direction and the adjusting distance.
The adjustment direction, the adjustment distance, and the target adjustment parameter may be preset with a first adjustment corresponding relationship, and stored in the corresponding relationship table.
When the target adjustment parameter is determined, the third color parameter may be adjusted according to the target adjustment parameter. To meet the user's requirements for adjustment of the third color parameter.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a third color parameter for adjusting a target color in a color selection method according to an embodiment of the present invention.
In fig. 3, the user's finger 31 passes a distance 33 from point a to point B at finger 32. The third color parameter in the color display interface 201 is changed, and is only illustrated by the filling depth in the figure.
Alternatively, the adjustment direction may be a direction away from the user or a direction close to the user. The adjustment distance can be detected by a distance sensor. The adjustment direction can be obtained by means of a direction sensor. In this way, the user's understanding of the adjustment may be met, for example, decreasing the value of the third color parameter away from the user and increasing the value of the third color parameter closer to the user.
In practical use, the selection of the color can be accomplished by the following process: the user only needs to select the required target color, and then after the mobile phone is shaken, the brightness or the saturation of the target color can be adjusted through the operation of being far away from the mobile phone or being close to the mobile phone, so that the operation steps of the user are greatly saved, the adjustment precision is improved, and the user experience is improved. The operation identification mode far away from or close to the mobile phone can be realized by arranging a corresponding distance sensor and the like.
In the embodiment of the present invention, the outputting the adjustment prompt specifically includes:
any one or more of vibration prompt, sound prompt, interface adjustment prompt and display effect prompt.
When the user performs the adjustment triggering operation, a prompt is given to the user based on the triggering operation. The adjustment prompt may specifically include: vibration of the mobile phone, buzzing, popping up an icon of an adjustment indication, displaying an adjustment slider bar, and the like.
In the embodiment of the invention, the adjustment prompt can be output to give a prompt for further executing the adjustment execution operation to the user, so that the failure of the adjustment operation is avoided, and the accuracy of color selection is improved.
In this embodiment of the present invention, in addition to the foregoing manner, the adjusting the third color parameter of the target color according to the adjustment execution operation specifically includes:
determining the adjustment duration and the adjustment pressure corresponding to the adjustment execution operation;
determining a target adjustment parameter according to the adjustment duration and the adjustment pressure;
and adjusting the third color parameter to the target adjustment parameter.
In the embodiment of the invention, the target adjustment parameter can be determined according to the adjustment time length and the adjustment pressure. For example, if the adjustment pressure is greater than the preset value, it indicates that the value of the target adjustment parameter needs to be increased, if it is less than the preset value, it indicates that the value of the target adjustment parameter needs to be decreased, if the adjustment time is longer when the adjustment pressure is greater than the preset value, it indicates that the value of the target adjustment parameter is increased, if the adjustment time is longer when the adjustment pressure is less than the preset value, it indicates that the value of the target adjustment parameter is decreased, and the like. The adjustment duration, the adjustment pressure, and the target adjustment parameter may be configured in advance, and the set second adjustment correspondence may also be stored in the database.
In the embodiment of the invention, in order to ensure that the color selection is quicker and more accurate, the target adjustment parameter can be determined by adjusting the time length and the pressure.
In actual use, a user can click in the color display interface to trigger the adjustment execution operation, and the third color parameter is adjusted through the time length and the force of the click.
In the embodiment of the invention, the target adjustment parameter can be determined by the adjustment duration and the adjustment pressure of the user, so that the convenience of selecting the color by the user is greatly improved, and the whole process is gradually changed, so that different display conditions under different third color parameters can be displayed for the user, the user can select the color according to the requirement, the efficiency and the precision of selecting the color by the user are improved, and the user experience is improved.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 4 is a schematic structural diagram of a color selecting device corresponding to fig. 1 provided in an embodiment of the present disclosure. As shown in fig. 4, the apparatus may include:
a first receiving device 402, configured to receive a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
a determining device 404, configured to determine a target color corresponding to the selecting operation in the color selecting interface, and display the target color on a color display interface;
a second receiving device 406, configured to receive an adjustment operation performed by the user in the area where the target color is located;
an adjusting device 408, configured to adjust a third color parameter of the target color according to the adjusting operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter;
a selecting device 410, configured to use the adjusted target color as the selected color of the user.
It will be appreciated that the modules described above refer to computer programs or program segments for performing a certain function or functions. In addition, the distinction between the above-described modules does not mean that the actual program code must also be separated.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method.
Fig. 5 is a schematic structural diagram of an electronic device corresponding to fig. 2 provided in an embodiment of the present disclosure. As shown in fig. 5, the electronic device 500 may include:
at least one processor 510; and the number of the first and second groups,
a memory 530 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 530 stores instructions 520 executable by the at least one processor 510 to enable the at least one processor 510 to:
receiving a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
receiving the adjustment operation of a user in the area where the target color is located;
adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter;
and taking the adjusted target color as the selected color of the user.
Based on the same idea, the embodiment of the present specification further provides a computer-readable medium corresponding to the above method. The computer readable medium has computer readable instructions stored thereon that are executable by a processor to implement the method of:
receiving a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
receiving the adjustment operation of a user in the area where the target color is located;
adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter;
and taking the adjusted target color as the selected color of the user.
While particular embodiments of the present specification have been described above, in some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in this specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other.
The apparatus, the electronic device and the method provided in the embodiments of the present description are corresponding, and therefore, the apparatus and the electronic device also have similar beneficial technical effects to the corresponding method, and since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus and device are not described again here.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital character system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: the ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information which can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of color selection, comprising:
receiving a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
receiving the adjustment operation of a user in the area where the target color is located;
adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter;
and taking the adjusted target color as the selected color of the user.
2. The method according to claim 1, wherein the adjusting operation specifically comprises: adjusting triggering operation and adjusting execution operation;
then, the adjusting the third color parameter of the target color according to the adjustment operation specifically includes:
outputting an adjustment prompt according to the adjustment triggering operation; the adjustment prompt is used for indicating that the user can continue to execute adjustment execution operation;
and adjusting a third color parameter of the target color according to the adjustment execution operation.
3. The method of claim 2, wherein the outputting the adjustment prompt specifically comprises:
any one or more of vibration prompt, sound prompt, interface adjustment prompt and display effect prompt.
4. The method according to claim 2, wherein the adjusting the third color parameter of the target color according to the adjustment performing operation specifically comprises:
determining an adjustment direction and an adjustment distance corresponding to the adjustment execution operation;
determining a target parameter value of the third color parameter according to the adjustment direction and the adjustment distance;
and adjusting the third color parameter to the target adjustment parameter.
5. The method according to claim 2, wherein the adjusting the third color parameter of the target color according to the adjustment performing operation specifically comprises:
determining the adjustment duration and the adjustment pressure corresponding to the adjustment execution operation;
determining a target adjustment parameter according to the adjustment duration and the adjustment pressure;
and adjusting the third color parameter to the target adjustment parameter.
6. The method of any of claims 2 to 5, wherein adjusting the trigger operation comprises:
any one of long press operation, double click operation, shaking operation and preset button clicking operation.
7. The method according to claim 1, wherein the region in which the target color is located specifically comprises:
and selecting an area of a preset range where the target color is located in the color selection interface, or displaying any area in the color display interface.
8. A color selection device, comprising:
the first receiving device is used for receiving the selection operation of a user on the color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
the determining device is used for determining a target color corresponding to the selecting operation in the color selecting interface and displaying the target color on a color display interface;
the second receiving device is used for receiving the adjustment operation of the user in the area where the target color is located;
the adjusting device is used for adjusting a third color parameter of the target color according to the adjusting operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter;
and the selecting device is used for taking the adjusted target color as the selected color of the user.
9. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving a selection operation of a user on a color selection interface; the color in the color selection interface is generated based on the first color parameter and the second color parameter; the first color parameter is a hue parameter, and the second color parameter is a brightness parameter or a saturation parameter;
determining a target color corresponding to the selection operation in the color selection interface, and displaying the target color on a color display interface;
receiving the adjustment operation of a user in the area where the target color is located;
adjusting a third color parameter of the target color according to the adjustment operation; when the second color parameter is a brightness parameter, the third color parameter is a saturation parameter; and when the second color parameter is a saturation parameter, the third color parameter is a brightness parameter.
10. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the colour selection method of any one of claims 1 to 7.
CN202111274365.XA 2021-10-29 2021-10-29 Color selection method and device, electronic equipment and readable medium Pending CN113986175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274365.XA CN113986175A (en) 2021-10-29 2021-10-29 Color selection method and device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274365.XA CN113986175A (en) 2021-10-29 2021-10-29 Color selection method and device, electronic equipment and readable medium

Publications (1)

Publication Number Publication Date
CN113986175A true CN113986175A (en) 2022-01-28

Family

ID=79744626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111274365.XA Pending CN113986175A (en) 2021-10-29 2021-10-29 Color selection method and device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN113986175A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116939906A (en) * 2023-07-26 2023-10-24 嘉兴市成泰镜业有限公司 Artificial intelligence-based LED mixed-color lamplight color calibration and adjustment method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080049043A1 (en) * 2006-08-22 2008-02-28 Geoff Titmuss On-screen colour selection
KR20080060689A (en) * 2006-12-27 2008-07-02 엔에이치엔(주) Method and device for providing color selection interface
CN104917890A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal and volume adjusting method
US20160370978A1 (en) * 2015-06-17 2016-12-22 Alibaba Group Holding Limited System, method, and apparatus for color selection
CN107580184A (en) * 2017-10-31 2018-01-12 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN109462727A (en) * 2018-11-23 2019-03-12 维沃移动通信有限公司 A kind of filter method of adjustment and mobile terminal
CN110399082A (en) * 2019-07-05 2019-11-01 北京达佳互联信息技术有限公司 A kind of terminal attribute control method, device, electronic equipment and medium
CN111182351A (en) * 2020-03-17 2020-05-19 惠州Tcl移动通信有限公司 Video playing processing method and device, storage medium and terminal
CN112162684A (en) * 2020-09-25 2021-01-01 维沃移动通信有限公司 Parameter adjusting method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080049043A1 (en) * 2006-08-22 2008-02-28 Geoff Titmuss On-screen colour selection
KR20080060689A (en) * 2006-12-27 2008-07-02 엔에이치엔(주) Method and device for providing color selection interface
CN104917890A (en) * 2015-05-29 2015-09-16 努比亚技术有限公司 Mobile terminal and volume adjusting method
US20160370978A1 (en) * 2015-06-17 2016-12-22 Alibaba Group Holding Limited System, method, and apparatus for color selection
CN107580184A (en) * 2017-10-31 2018-01-12 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN109462727A (en) * 2018-11-23 2019-03-12 维沃移动通信有限公司 A kind of filter method of adjustment and mobile terminal
CN110399082A (en) * 2019-07-05 2019-11-01 北京达佳互联信息技术有限公司 A kind of terminal attribute control method, device, electronic equipment and medium
CN111182351A (en) * 2020-03-17 2020-05-19 惠州Tcl移动通信有限公司 Video playing processing method and device, storage medium and terminal
CN112162684A (en) * 2020-09-25 2021-01-01 维沃移动通信有限公司 Parameter adjusting method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116939906A (en) * 2023-07-26 2023-10-24 嘉兴市成泰镜业有限公司 Artificial intelligence-based LED mixed-color lamplight color calibration and adjustment method
CN116939906B (en) * 2023-07-26 2024-04-19 嘉兴市成泰镜业有限公司 Artificial intelligence-based LED mixed-color lamplight color calibration and adjustment method

Similar Documents

Publication Publication Date Title
CN109741281B (en) Image processing method, image processing device, storage medium and terminal
US20190130647A1 (en) Display control method and system, and virtual reality device
CN106201212A (en) Generation method, device and the mobile terminal of a kind of application icon
CN105118019A (en) Image processing method and user terminal
CN104834373A (en) Method for displaying wallpaper element
CN114115643A (en) Component display method and device, electronic equipment and readable medium
CN113986175A (en) Color selection method and device, electronic equipment and readable medium
US11790344B2 (en) Method and apparatus for displaying identification code of application
TWI694371B (en) Color selection method and equipment
US10481774B2 (en) Area-dependent image enhancement
CN104834444A (en) Terminal
CN103823651A (en) Information processing method and electronic equipment
US20200005733A1 (en) Placement of graphic elements of gui with region of interest
CN108846879B (en) Color plate generation method and device
CN113986176A (en) Color display method and device, electronic equipment and readable medium
CN116245051A (en) Simulation software rendering method and device, storage medium and electronic equipment
CN115061618A (en) Method and device for displaying list data in sliding mode and electronic equipment
JP2017062649A (en) Information processing device and information processing program
CN108734556A (en) Recommend the method and device of application
CN115131247A (en) Image processing method and device, storage medium and electronic equipment
CN114397989A (en) Parameter value setting method and device, electronic equipment and storage medium
KR102643243B1 (en) Electronic device to support improved visibility for user interface
CN110968513B (en) Recording method and device of test script
CN112381905A (en) Color superposition method and device and electronic equipment
CN112000905A (en) Information display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220713

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Applicant after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 100102 Room 203, 14 and 19, floor 2, building 19, Wangjing Dongyuan seventh district, Chaoyang District, Beijing

Applicant before: Beijing Guangqiyuan Digital Technology Co.,Ltd.