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

A color matching method and device for determining page text

A text and page technology, applied in the field of color matching devices for determining page text, can solve the problems of complicated color configuration and other problems

Active Publication Date: 2021-09-14
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 0 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
  • A color matching method and device for determining page text
  • A color matching method and device for determining page text
  • A color matching method and device for determining page text

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

Embodiments of the present invention provide a color matching method and device for determining text on a page. The method includes: obtaining a configuration file of a web page; the web page includes a background image block and a text content block configured on the background image block ; Extract the relative position of the text content block in the background image block from the configuration file; obtain the main color RGB value of the background image block in the relative position; convert the main color RGB value into the main color HSV value; determine the HSV value interval where the main color HSV value is located; from the correspondence between the preset HSV value interval and the text RGB value, search for the target text RGB corresponding to the HSV value interval where the main color HSV value is located value; in the configuration file, set the color of the text content block to the RGB value of the target text. Realize the automatic color matching of the text content in the web page according to the color of the background image block corresponding to the area 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 Patents(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