×

Color sampling for displaying content items

  • US 10,269,145 B1
  • Filed: 10/18/2017
  • Issued: 04/23/2019
  • Est. Priority Date: 10/18/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, at an online system, a content item to be provided to a user of the online system, the content item including an image;

    determining that the content item is to be displayed with a color block as an accent to the image;

    selecting a color to use in displaying the color block using a waterfall selection method by;

    executing a first selection method corresponding to a first set of criteria to determine a color to use in displaying the color block, or to determine that no color satisfies the first selection method, wherein the color for the color block is selected based upon a color of the image satisfying the first set of selection criteria that has a greatest amount of coverage within the image relative to other colors in the image, andin response to a determination that no color satisfies the first selection method, executing one or more additional selection methods corresponding to respective sets of criteria to determine a color to use in displaying the color block, wherein the color determined using each of the one or more additional selection methods is based upon a color of the image satisfying the respective set of selection criteria that has a greatest amount of coverage within the image; and

    providing the content item for display to the user of the online system, wherein the displayed content item includes at least the image associated with the content item and the color block as an accent to the displayed image, the color block displayed with the selected color determined in the waterfall selection method.

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