# US 10,319,116 B1 · Dynamic color adjustment of electronic content

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,319,116 B1
- Document ID: US10319116B1
- Status: Granted
- Kind: B1
- Application number: 14/619,688
- Filed: 2015-02-11
- Granted: 2019-06-11
- Earliest claimed: 2014-12-02
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Prannoy Vargis C; James Joseph Poulin; Deepak Manohar; Chad Siegel; Adam Schott Riggs; Surendran Rangasamy; Joseph King; Michael Patrick Bacus; Eric Allen Menninga
- Web page: https://patentgrep.com/patent/US10319116B1

## CPC

- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G09G 5/02: characterised by the way in which colour is displayed {(details of colour display specific for CRTs G09G1/28; specific for flat matrix panels other than liquid crystal displays G09G3/2003; specific for liquid crystal displays G09G3/3607)}
- G09G 5/10: Intensity circuits
- G09G 5/377: for mixing or overlaying two or more graphic patterns (G09G5/02, G09G5/397 take precedence)
- G09G 2320/066: for control of contrast
- G09G 2340/06: Colour space transformation
- G09G 2340/12: Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Systems, methods, and computer-readable media are disclosed for dynamic color adjustment of electronic content. In one embodiment, a system may determine a first background color corresponding to a color theme for use in presentation of electronic content, the color theme further specifying a first text color for displaying text. The system may convert the first text color to hue-saturation-value (HSV) color space, and modify a brightness component of the first text color to generate a second text color. The system may determine a first contrast ratio between the second text color and the first background color, and determine that the first contrast ratio satisfies a first threshold contrast ratio. The system may display the electronic content using the first background color, the electronic content including text having the second text color.

## Claims

### Claim 1

A method comprising:
determining, by a computer system comprising one or more computer processors, a first background color corresponding to a color theme for use in presentation of electronic content, the color theme specifying a first text color for displaying text;
converting, by the computer system, the first text color to hue-saturation-value (HSV) color space;
increasing, by the computer system, a brightness component of the first text color to generate a second text color;
determining that the brightness component has been increased to a maximum value;
determining that a first contrast ratio between the second text color and the first background color does not satisfy a first threshold contrast ratio;
automatically decreasing the brightness component until the first threshold contrast ratio is satisfied;
determining a third text color with the brightness component that satisfies the first threshold contrast ratio;
identifying a second background color that corresponds to the color theme, wherein the second background color is different than the first background color;
generating a third background color that is a blend of the first background color and the second background color;
determining that a second contrast ratio between the third text color and the third background color satisfies a second threshold contrast ratio; and
displaying, by the computer system, the electronic content using the third background color, the electronic content including text having the third text color.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
prior to displaying the electronic content, converting, by the computer system, the third text color to red-green-blue (RGB) color space.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the HSV color space comprises a hue component with an initial hue value, a saturation component with an initial saturation value, and a brightness component with an initial brightness value; and
the second text color comprises the initial hue value and the initial saturation value.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first threshold contrast ratio is 4.5:1.

### Claim 5 (depends on 1)

The method of claim 1, wherein the third background color is a weighted average of the first background color and the second background color, wherein the first background color is weighted based on a first translucency value of the first background color and the second background color is weighted based on a second translucency of the second background color.

### Claim 6 (depends on 1)

The method of claim 1, wherein the second threshold contrast ratio is 2:1.

### Claim 7 (depends on 1)

The method of claim 1, wherein further comprising:
determining that the first text color is lighter than the first background color; and
increasing the brightness component of the first text color by a predetermined value.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining that the third text color is darker than the second background color; and
decreasing the brightness component of the third text color by a predetermined value.

### Claim 9 (depends on 1)

The method of claim 1, wherein automatically decreasing the brightness component until the first threshold contrast ratio is satisfied comprises decreasing the brightness component until a minimum value is reached.

### Claim 10

A computer device comprising:
at least one memory that stores computer-executable instructions; and
at least one processor configured to access the at least one memory and execute the computer-executable instructions to:
determine a first background color, the first background color corresponding to a color theme for use in presentation of electronic content, the color theme further specifying a first text color for displaying text;
convert the first text color to hue-saturation-value (HSV) color space;
modify a brightness component of the first text color to generate a second text color;
blend the first background color with a second background color to generate a third background color;
determine a first contrast ratio between the second text color and the third background color;
determine that the first contrast ratio satisfies a first threshold contrast ratio;
determine that a second contrast ratio between the third background color and the second background color satisfies a second threshold contrast ratio; and
display the electronic content using the first background color, the electronic content including text having the second text color.

### Claim 11 (depends on 10)

The computer device of claim 10, wherein the at least one processor is further configured to execute the computer-executable instructions to:
prior to displaying the electronic content, convert the second text color to red-green-blue (RGB) color space.

### Claim 12 (depends on 10)

The computer device of claim 10, wherein:
the HSV color space comprises a hue component with an initial hue value, a saturation component with an initial saturation value, and a brightness component with an initial brightness value; and
the second text color comprises the initial hue value, the initial saturation value, and a modified brightness value.

### Claim 13 (depends on 10)

The computer device of claim 10, wherein the at least one processor is further configured to execute the computer-executable instructions to:
identify the second background color, the second background color corresponding to the color theme; and
determine that the second background color is different than the first background color.

### Claim 14 (depends on 10)

The computer device of claim 10, wherein the at least one processor is configured to modify the brightness component of the first text color to generate the second text color by executing the computer-executable instructions to:
determine that the first text color is lighter than the first background color; and
increase the brightness component of the first text color by a predetermined value to satisfy the first threshold contrast ratio.

### Claim 15 (depends on 10)

The computer device of claim 10, wherein the at least one processor is configured to modify the brightness component of the first text color to generate the second text color by executing the computer-executable instructions to:
determine that the first text color is darker than the first background color; and
decrease the brightness component of the first text color by a predetermined value to satisfy the first threshold contrast ratio.

### Claim 16

A device comprising:
at least one memory that stores computer-executable instructions; and
at least one processor configured to access the at least one memory and execute the computer-executable instructions to:
determine a first background color, the first background color corresponding to a color theme for use in presentation of electronic content, the color theme further specifying a first text color for displaying text;
identify a second background color that is different than the first background color, the second background color corresponding to the color theme;
blend the first background color with the second background color to generate a third background color;
determine that a first contrast ratio between the third background color and the second background color satisfies a first threshold contrast ratio;
convert the first text color to hue-saturation-value (HSV) color space;
increase a brightness component of the first text color to generate a second text color;
determine that the brightness component has been increased to a maximum value;
determine that a second contrast ratio between the second text color and the third background color is not satisfied;
decrease the brightness component until the second threshold contrast ratio is satisfied;
determine a third text color with the brightness component that satisfies the second threshold contrast ratio; and
cause display of the electronic content using the third background color, the electronic content including text having the third text color.

### Claim 17 (depends on 16)

The device of claim 16, wherein the at least one processor is further configured to execute the computer-executable instructions to:
determine that the first text color is lighter than the third background color.

### Claim 18 (depends on 16)

The device of claim 16, wherein the at least one processor is further configured to execute the computer-executable instructions to:
determine that the third text color is darker than the second background color; and
decrease the brightness component of the third text color by a predetermined value.

### Claim 19 (depends on 16)

The device of claim 16, wherein the second contrast ratio is determined by dividing a first calculated relative luminance of the third background color by a second calculated relative luminance of the second text color.
