Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for determining color matching of page characters

A text and page technology, applied in the field of color matching devices for determining page text, can solve problems such as complicated configuration of colors, and achieve the effect of improving efficiency and good text reading experience

Active Publication Date: 2020-05-01
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it is cumbersome to assign colors to the text in each web page

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
  • Method and device for determining color matching of page characters
  • Method and device for determining color matching of page characters
  • Method and device for determining color matching of page characters

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0053] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a color matching method for determining page text according to the present invention, which may specifically include the following steps:

[0054] Step 101, obtaining the configuration file of the web page; the web page includes a background image block and a text content block configured on the background image block;

[0055] In the embodiment of the present invention, the webpage may include content such as images, text, and multimedia. The image, text, multimedia and other content can be laid out on the webpage in the form of blocks, for example, text content blocks, background image blocks, multimedia control blocks, and the like. The block...

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 embodiment of the invention provides a method and device for determining color matching of page characters. The method comprises the steps that a configuration file of a webpage is obtained; wherein the web page comprises a background image block and a text content block configured on the background image block; extracting a relative position of the text content block in the background image block from a configuration file; obtaining a main color RGB value of the background image block at the relative position; converting the main color RGB value into a main color HSV value; determining anHSV value interval where the main color HSV value is located; searching a target character RGB value corresponding to the HSV value interval where the main color HSV value is located from a preset corresponding relationship between the HSV value interval and the character RGB value; and in the configuration file, setting the color of the text content block as the RGB value of the target text. Andrealizing automatic color matching of the text content in the webpage according to the color of the background image block corresponding to the region where the text content is located.

Description

technical field [0001] The invention relates to the technical field of web pages, in particular to a color matching method for determining page text and a color matching device for determining page text. Background technique [0002] A web page may generally include elements such as images, text, and multimedia, and image elements, text elements, and multimedia elements may overlap with each other. For example, text elements can be placed on top of image elements. However, on a web page, when the text element is on top of the image element, the color of the image element will affect the user's viewing of the text on the top layer of the image, especially if the text color is similar or even the same as the image color, it will be difficult for the user to read the text content. For this reason, the web page designer can configure colors for the text content at different positions in the web page, so that the user can read the text easily. However, the work of configuring c...

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): G06F3/0483G06F3/0484G06T11/40G06T11/60
CPCG06F3/0483G06F3/04845G06T11/40G06T11/60
Inventor 王睿宇程启健任翔宇李明忠
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products