Polyman Documentation - v3.1.0
    Preparing search index...
    • Relative luminance of a color, as defined by WCAG (0 is black, 1 is white).

      Parameters

      • rgb: Rgb

        The color

      Returns number

      The luminance