Supercharge Your Innovation With Domain-Expert AI Agents!

Color template generation method and color template generation device

A template generation and color technology, applied in the direction of program control device, creation/generation of source code, model-driven code, etc., can solve problems such as font color cannot be adjusted, incomplete information display, color conflicts, etc.

Active Publication Date: 2021-06-25
PIXELHUE TECH LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Therefore, the embodiment of the present invention proposes a color template generation method, a color template device, a color template generation system, and a computer storage medium, which can realize full color gamut color template generation, and can solve the problem of generating color templates. Sometimes there is a problem that the color conflict between the main color and the text color causes the information to be displayed incompletely
[0005] In the existing technology, when the theme color template is switched on the web interface, generally only a few fixed color templates are supported, while when the theme template is selected in the full color gamut, only the main color adjustment is supported, and the font color and other items cannot be adjusted, otherwise it may be There is a problem that the main color and the text color and other item color conflicts cause the information to be displayed incompletely

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Color template generation method and color template generation device
  • Color template generation method and color template generation device
  • Color template generation method and color template generation device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0035] see Figure 1 to Figure 3 , a method for generating a color template proposed by the first embodiment of the present invention, for example, includes steps S11 to S19.

[0036] Such as figure 1 As shown, step S11: Acquire an initial color template, wherein the initial color template includes a comparison table between the initial theme color and the initial colors of multiple elements, and the initial theme color and the initial color are determined by the target color space Multiple color component value representation;

[0037] Step S13: Acquiring the target theme color in response to user instructions;

[0038] Step S15: Based on the relative relationship between the target theme color and the multiple color component values ​​of the initial theme color in the target color space and the comparison relationship table, obtain the target color of each element in the target color space. multiple color component values ​​of the color space;

[0039] Step S17: In the c...

no. 2 example

[0053] Such as Figure 4 As shown, the second embodiment of the present invention provides a color template generation device. The color template generation device 30 includes: a template acquisition module 301 , a theme color acquisition module 303 , an element color component acquisition module 305 , an element color determination module 307 and a template generation module 309 .

[0054] Wherein, the template acquiring module 301 is used to acquire an initial color template, wherein the initial color template includes a comparison table of the initial theme color and the initial colors of a plurality of elements, and the initial theme color and the initial color are all determined by the target color space Multiple color component value representations of . The theme color acquiring module 303 is used for acquiring a target theme color in response to a user instruction. The element color component acquisition module 305 is used to obtain the target color of each element b...

no. 3 example

[0061] Figure 5 A color template generating system is provided for the third embodiment of the present invention. Such as Figure 5 As shown, the color template generating system 40 includes: a memory 42 and one or more processors 41 connected to the memory. The memory 42 stores a computer program, and the processor 41 is used to execute the computer program to realize the method for generating a color template as described in the first embodiment. For the sake of brevity, no further details are given here, and the color template generation system provided in this embodiment The beneficial effect of 40 is the same as that of the method for generating a color template provided in the first embodiment.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an interface display method and a color template generation device. A color template generation method comprises the steps of obtaining an initial color template, obtaining a target theme color, obtaining a plurality of color component values of a target color of each element in a target color space, determining the target colors of a plurality of elements, and generating a new color template. According to the method and the device, the required new color template can be generated in the full-color gamut range based on the initial color template, the problem of incomplete information display caused by item color conflicts such as the dominant hue and the character color when the color template is generated is solved, and full-color gamut color template generation is realized.

Description

technical field [0001] The present invention relates to the technical field of human-computer interaction interface, in particular to a method for generating a color template and a device for generating a color template. Background technique [0002] Switching the theme of the web interface can meet the business needs of users in different usage scenarios, for example: use a yellowish theme for eye protection, use a gray-black theme for eye protection in the middle of the night, use a reddish theme for festivals such as National Day and Chinese New Year to highlight festivities, and according to the user's personal needs Use different theme color templates. There are currently two color template customization schemes, one is to support several fixed customization schemes, the advantage is that the preset color theme will not have color conflicts, the disadvantage is that there are fewer custom colors; the other is full color The theme customization scheme of the domain, but...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/35G06F8/38G06F9/451
CPCG06F8/35G06F8/38G06F9/451
Inventor 曹坤玉周晶晶
Owner PIXELHUE TECH LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More