×

Contrast-Ratio-Based Color Generation

  • US 20200066003A1
  • Filed: 08/22/2018
  • Published: 02/27/2020
  • Est. Priority Date: 08/22/2018
  • Status: Active Grant
First Claim
Patent Images

1. In a digital medium environment for contrast-ratio-based color generation, a method implemented by a computing device, the method comprising:

  • displaying a user interface on a display device of the computing device, the user interface including a background color and content colors of content displayed in the user interface;

    receiving an input that changes the background color in the user interface;

    calculating a brightness value of the background color;

    calculating target contrast ratios of the respective content colors based on the brightness value of the background color;

    generating color values for new content colors based on the calculated target contrast ratios of the respective content colors;

    calculating respective brightness values of the new content colors based on the generated color values for the new content colors; and

    adjusting a saturation of the new content colors based on the calculated respective brightness values of the new content colors.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×