Skip to main content
Object

ProfileImageSwatch

A candidate accent colour extracted from one of a profile's images. Colours are OKLCH components multiplied by 1000.

Fields

  • assetIdID

    The media-library image the colour comes from. Null for the organisation logo.

  • cInt!

    Chroma, multiplied by 1000.

  • hInt!

    Hue in degrees, multiplied by 1000.

  • lInt!

    Lightness, multiplied by 1000.

  • rankInt!

    Rank of the colour within its image, starting at 0 for the most prominent.

  • weightInt!

    Share of the image's coloured pixels, multiplied by 1000.

Used by