• Preparing search index...
  • The search index is not available
@googlemaps/adv-markers-utils
  • @googlemaps/adv-markers-utils
  • index
  • color
  • luminance

Function luminance

  • luminance(rgb: RGBAColor | RGBColor): number

    Computes the relative luminance of the specified color-value (range [0..1]). See http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef

    Parameters

    • rgb: RGBAColor | RGBColor

    Returns number

    • Defined in color.ts:130

Settings

Member Visibility
@googlemaps/adv-markers-utils
  • Loading...

Generated using TypeDoc