×

Dynamic color adjustment of electronic content

  • US 10,319,116 B1
  • Filed: 02/11/2015
  • Issued: 06/11/2019
  • Est. Priority Date: 12/02/2014
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×